Jump to content

Compass on screen or monitor

Recommended Posts

Good afternoon, How's everybody ? I hope that very well, I am trying to make a compass screen that shows the direction of a vehicle, and continuously show the direction of the compass, I was reviewing and I could find several authors' guides, for example this :


MyCompass = findDisplay 46 ctrlCreate ["RscPictureKeepAspect", -1];  
MyCompass ctrlSetPosition [0.5,0.5,.1,.1];  
MyCompass ctrlSetText "\A3\ui_f\data\map\markers\handdrawn\arrow_CA.paa";  
MyCompass ctrlCommit 0; 
addMissionEventHandler ["EachFrame",{ 
 MyCompass ctrlSetAngle [getDirVisual _Vehicle, 0.5, 0.5];  


the image is seen on the player's screen and shows the position of the vehicle's compass, and that's fine, now my wish is to have that compass displayed on a game screen or monitor, or on an image poster, and Do your job of pointing out the vehicle's position, how could I do it to achieve it? thanks to everyone



Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now