Difference between revisions of "markerShape"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| arma2 |= Game name
 
| arma2 |= Game name
 
|1.00|= Game version
 
|1.00|= Game version
|arg= global|= Arguments in MP
+
|arg= global|Multiplayer Arguments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Gets the marker shape. See [[setMarkerShape]] for a list of strings that can be returned. |= Description
+
| Gets the marker shape. See [[setMarkerShape]] for a list of strings that can be returned. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''markerShape''' name |= Syntax
+
| '''markerShape''' name |SYNTAX=
  
|p1= name: [[String]] -  |= PARAMETER1
+
|p1= name: [[String]] -  |PARAMETER1=  
  
|p2= |= PARAMETER2
+
|p2= |PARAMETER2=  
  
|p3= |= PARAMETER3
+
|p3= |PARAMETER3=  
  
| [[String]] |= RETURNVALUE
+
| [[String]] |RETURNVALUE=  
  
  
|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>|EXAMPLE1=  
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[setMarkerShape]], [[setMarkerShapeLocal]] |= SEEALSO
+
| [[setMarkerShape]], [[setMarkerShapeLocal]] |SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Latest revision as of 12:11, 5 August 2019

Introduced with Arma 2 version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Gets the marker shape. See setMarkerShape for a list of strings that can be returned.

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

Multiplayer:
-
See also:
setMarkerShapesetMarkerShapeLocal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

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