getMarkerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (No such thing as an "a" axis or "b" axis)
(add. ArmA2 classification)
Line 44: Line 44:
[[Category:Scripting Commands ArmA|GETMARKERSIZE]]
[[Category:Scripting Commands ArmA|GETMARKERSIZE]]
[[Category:Command Group: Markers|GETMARKERSIZE]]
[[Category:Command Group: Markers|GETMARKERSIZE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 16:29, 3 June 2009

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