markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns marker size. This command is identical to [[getMarkerSize]]. |= Description
| Returns marker size. This command is identical to [[getMarkerSize]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''markerSize''' markerName |= Syntax
| '''markerSize''' markerName |SYNTAX=


|p1= markerName: [[String]] |= Parameter 1
|p1= markerName: [[String]] |PARAMETER1=


| [[Array]] - in format [a-axis, b-axis], where:
| [[Array]] - in format [a-axis, b-axis], where:
* a-axis: [[Number]] - 1/2 width of marker
* a-axis: [[Number]] - 1/2 width of marker
* b-axis: [[Number]] - 1/2 height of marker |= Return value
* b-axis: [[Number]] - 1/2 height of marker |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_mSize = [[markerSize]] "Marker1";</code> |= Example 1
|x1= <code>_mSize = [[markerSize]] "Marker1";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setMarkerSize]], [[setMarkerSizeLocal]] |= See also
| [[setMarkerSize]], [[setMarkerSizeLocal]] |SEEALSO=


}}
}}

Revision as of 15:43, 7 April 2019


Hover & click on the images for description

Description

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

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