Map
14 scripting commands. Also as Markdown for agents.
- forcedMapReturns if map was forced by using forceMap command or openMap command with force option
- forceMapOpens non-interactive main map in background that overrides user screen. To force open interactive map use openMap command.
- getElevationOffsetReturns the map elevation offset from [map]/config.cpp.
- getObjectIDReturns Visitor ID of the given object. Visitor IDs of static map objects can change if map is in development and updated with new static objects.
- mapAnimAddAdd next frame to map animation.
- mapAnimClearClear map animation.
- mapAnimCommitPlay map animation.
- mapAnimDoneCheck if map animation is finished.
- mapGridPositionReturns the map grid position of an object or position.
- onMapSingleClickDefines the action performed when user clicks in map by executing command string.
- openMapOpens or closes in-game map.
- showMapEnable Map (default true).
- shownMapChecks if client has Map enabled in description.ext (*showMap* param) or force enabled with showMap command.
- visibleMapReturn true if the main map is shown (active). In Arma 3 it also returns true if the respawn screen map is visible.