markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (explain return value)
(syntax format)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get marker size. Note: This function is identical to [[getMarkerSize]]. |= Description
| Returns marker size. This function is identical to [[getMarkerSize]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] <nowiki>=</nowiki> '''markerSize''' markerName |= Syntax
| '''markerSize''' markerName |= Syntax


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


| [a-axis, b-axis]: [[Array]]
| [[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 |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_mSize = '''markerSize''' "Marker1";</code> |= Example 1
|x1= <code>_mSize = [[markerSize]] "Marker1";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:02, 25 February 2017


Hover & click on the images for description

Description

Description:
Returns marker size. This function 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