markerShape: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2
|1.00|Game version=
|1.00


|gr1 = Markers |GROUP1=
|gr1 = Markers




|arg= global|Multiplayer Arguments=
|arg= global


| Gets the marker shape. See [[setMarkerShape]] for a list of strings that can be returned. Possible return values:
| Gets the marker shape. See [[setMarkerShape]] for a list of strings that can be returned. Possible return values:
Line 14: Line 14:
* <tt>"ELLIPSE"</tt>
* <tt>"ELLIPSE"</tt>
* <tt>"POLYLINE"</tt>
* <tt>"POLYLINE"</tt>
* <tt>"ERROR"</tt> |DESCRIPTION=
* <tt>"ERROR"</tt>


| '''markerShape''' name |SYNTAX=
| '''markerShape''' name


|p1= name: [[String]] - |PARAMETER1=
|p1= name: [[String]] -


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[String]] |RETURNVALUE=
| [[String]]




|x1= <code>[[if]] ('''markerShape''' "Marker1" == "RECTANGLE") [[then]] {[[hint]] "Marker1 is a rectangle!"}</code>|EXAMPLE1=
|x1= <code>[[if]] ('''markerShape''' "Marker1" == "RECTANGLE") [[then]] {[[hint]] "Marker1 is a rectangle!"}</code>




| [[setMarkerShape]], [[setMarkerShapeLocal]] |SEEALSO=
| [[setMarkerShape]], [[setMarkerShapeLocal]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:01, 18 January 2021

Hover & click on the images for description

Description

Description:
Gets the marker shape. See setMarkerShape for a list of strings that can be returned. Possible return values:
  • "ICON"
  • "RECTANGLE"
  • "ELLIPSE"
  • "POLYLINE"
  • "ERROR"
Groups:
Markers

Syntax

Syntax:
markerShape name
Parameters:
name: String -
Return Value:
String

Examples

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

Additional Information

See also:
setMarkerShapesetMarkerShapeLocal

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

Notes

Bottom Section

Posted on May 30, 2016 - 19:33 (UTC)
Killzone Kid
Free hand drawn markers return "POLYLINE"