getMarkerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
Line 45: Line 45:
[[Category:Command Group: Markers|GETMARKERSIZE]]
[[Category:Command Group: Markers|GETMARKERSIZE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 11:11, 2 November 2011

Hover & click on the images for description

Description

Description:
Returns the size of a given marker.
Groups:
Uncategorised

Syntax

Syntax:
Array = getMarkerSize markerName
Parameters:
markerName: String
Return Value:
Array - The returned array contains two values: [a,b] where a is the size in the markers x-axis, b the size in its y-axis (in meters).

Examples

Example 1:
"MarkerOne" setMarkerSize [100,200]

_size = getMarkerSize "MarkerOne"
returns [100,200]

Additional Information

See also:
setMarkerSize

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