Difference between revisions of "markerShape"

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
{{Command|Comments=
 +
____________________________________________________________________________________________
  
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
| arma2 |Game name=
 +
|1.00|Game version=
 +
|arg= global|Multiplayer Arguments=
 +
____________________________________________________________________________________________
 +
 
 +
| Gets the marker shape. See [[setMarkerShape]] for a list of strings that can be returned. Possible return values:
 +
* <tt>"ICON"</tt>
 +
* <tt>"RECTANGLE"</tt>
 +
* <tt>"ELLIPSE"</tt>
 +
* <tt>"POLYLINE"</tt>
 +
* <tt>"ERROR"</tt> |DESCRIPTION=
 +
____________________________________________________________________________________________
 +
 
 +
| '''markerShape''' name |SYNTAX=
 +
 
 +
|p1= name: [[String]] -  |PARAMETER1=
 +
 
 +
|p2= |PARAMETER2=
 +
 
 +
|p3= |PARAMETER3=
 +
 
 +
| [[String]] |RETURNVALUE=
 +
 
 +
 
 +
|x1= <code>[[if]] ('''markerShape''' "Marker1" == "RECTANGLE") [[then]] {[[hint]] "Marker1 is a rectangle!"}</code>|EXAMPLE1=
 +
 
 +
____________________________________________________________________________________________
 +
 
 +
| [[setMarkerShape]], [[setMarkerShapeLocal]] |SEEALSO=
 +
 
 +
|  |MPBEHAVIOUR=
 +
____________________________________________________________________________________________
 +
}}
 +
 
 +
<h3 style='display:none'>Notes</h3>
 +
<dl class='command_description'>
 +
<!-- Note Section BEGIN -->
 +
 
 +
<!-- Note Section END -->
 +
</dl>
 +
 
 +
<h3 style='display:none'>Bottom Section</h3>
 +
 
 +
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command_Group:_Markers|{{uc:{{PAGENAME}}}}]]
 +
 
 +
<!-- CONTINUE Notes -->
 +
<dl class="command_description">
 +
<dd class="notedate">Posted on May 30, 2016 - 19:33 (UTC)</dd>
 +
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
 +
<dd class="note">
 +
Free hand drawn markers return "POLYLINE"
 +
</dd>
 +
</dl>
 +
<!-- DISCONTINUE Notes -->

Latest revision as of 11:40, 10 January 2020

Introduced with Arma 2 version 1.001.00
Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

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"

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

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section

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