ctrlMapDir

From Bohemia Interactive Community
Revision as of 17:49, 5 September 2023 by Lou Montana (talk | contribs) (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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:
private _mapControl = findDisplay 12 displayCtrl 51; // get the map private _dir = ctrlMapDir _mapControl; // returns 0 as the 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