markerShape: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting)
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 17: Line 17:
|version4= 0.50
|version4= 0.50


|gr1 = Markers
|gr1= Markers


|arg= global
|arg= global

Revision as of 12:46, 11 April 2021

Hover & click on the images for description

Description

Description:
Returns the shape of given marker.
Groups:
Markers

Syntax

Syntax:
markerShape name
Parameters:
name: String - Name of the marker
Return Value:
String - Shape of given marker. Can be return:
  • "ICON"
  • "RECTANGLE"
  • "ELLIPSE"
  • "POLYLINE" (Hand drawn markers, Template:Since)
  • "ERROR"

Examples

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

Additional Information

See also:
setMarkerShape setMarkerShapeLocal

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