Arma 3 Scripting

markerShape

  • Global argument
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

Returns the shape of given marker. markerShape#Example_2

Note

This command can be used as a fast way to check if a marker exists. See #Example 2.

Syntax

markerShape name

Parameters:

Returns: String - shape of given marker. Can be return:

Examples

Example 1

if (markerShape "Marker1" == "RECTANGLE") then { hint "Marker1 is a rectangle!" };

Example 2

if (markerShape "Marker1" == "") then { hint "Marker1 does not exist!" };

See also

setMarkerShape · setMarkerShapeLocal