Arma 3 Scripting

ctrlMapDir

  • Arma 3 v2.14

Command · Markdown · JSON · original wiki page

Description

Returns the current orientation angle of the map control in degrees.

Syntax

ctrlMapDir ctrl

Parameters:

Returns: 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

See also

ctrlMapScale