ctrlMapDir: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.14 |branch= dev |gr1= GUI Control - Map |descr= Returns the current orientation angle of the map control in degrees. |s1= ct...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
|x1= <sqf>_control = (findDisplay 12) displayCtrl 51; //Arma 3 | |x1= <sqf>_control = (findDisplay 12) displayCtrl 51; //Arma 3 | ||
_dir = | _dir = ctrlMapDir _control; //returns 0 as main map does not autorotate</sqf> | ||
|seealso= [[ctrlMapScale]] | |seealso= [[ctrlMapScale]] | ||
}} | }} |
Revision as of 23:53, 31 January 2023
Description
- Description:
- Returns the current orientation angle of the map control in degrees.
- Groups:
- GUI Control - Map
Syntax
- Syntax:
- ctrlMapDir ctrl
- Parameters:
- ctrl: Control
- Return Value:
- Number
Examples
- Example 1:
- _control = (findDisplay 12) displayCtrl 51; //Arma 3 _dir = ctrlMapDir _control; //returns 0 as main map does not autorotate
Additional Information
- See also:
- ctrlMapScale
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note