markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 36: Line 36:
* b-axis: [[Number]] - 1/2 height of marker
* b-axis: [[Number]] - 1/2 height of marker


|x1= <code>_mSize = [[markerSize]] "Marker1";</code>
|x1= <code>_mSize = markerSize "Marker1";</code>


|seealso= [[setMarkerSize]] [[setMarkerSizeLocal]]
|seealso= [[setMarkerSize]] [[setMarkerSizeLocal]]
}}
}}

Revision as of 11:10, 12 May 2022

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:
setMarkerSize setMarkerSizeLocal

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