markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
Line 43: Line 43:
[[Category:Scripting Commands|MARKERSIZE]]
[[Category:Scripting Commands|MARKERSIZE]]
[[Category:Scripting Commands OFP 1.96|MARKERSIZE]]
[[Category:Scripting Commands OFP 1.96|MARKERSIZE]]
[[Category:Scripting Commands Armed Assault|MARKERSIZE]]
{{GameCategory|arma1|Scripting Commands}}

Revision as of 12:41, 7 January 2021

Hover & click on the images for description

Description

Description:
Returns marker size. This command is identical to getMarkerSize.
Groups:
Markers

Syntax

Syntax:
markerSize markerName
Parameters:
markerName: String
Return Value:
Array - in format [a-axis, b-axis], where:
  • a-axis: Number - 1/2 width of marker
  • b-axis: Number - 1/2 height of marker

Examples

Example 1:
_mSize = markerSize "Marker1";

Additional Information

See also:
setMarkerSizesetMarkerSizeLocal

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