markerSize: Difference between revisions
Jump to navigation
Jump to search
Dr Eyeball (talk | contribs) m (explain return value) |
Killzone Kid (talk | contribs) (syntax format) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns marker size. This function is identical to [[getMarkerSize]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''markerSize''' markerName |= Syntax | ||
|p1= markerName: [[String]] |= Parameter 1 | |p1= markerName: [[String]] |= Parameter 1 | ||
| [a-axis, b-axis]: | | [[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 = | |x1= <code>_mSize = [[markerSize]] "Marker1";</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:02, 25 February 2017
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:
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
Categories:
- Scripting Commands
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: Markers
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters