markerShape: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2 |= Game name
| arma2 |Game name=
|1.00|= Game version
|1.00|Game version=
|arg= global|= Arguments in MP
 
|gr1 = Markers |GROUP1=
 
 
|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. Possible return values:
* <tt>"ICON"</tt>
* <tt>"RECTANGLE"</tt>
* <tt>"ELLIPSE"</tt>
* <tt>"POLYLINE"</tt>
* <tt>"ERROR"</tt> |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=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 39: Line 48:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Markers|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->

Revision as of 12:50, 25 September 2020

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"