markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp
|1.5
|version1=


|gr1 = Markers
|game2= ofpe
|version2= 1.00
 
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50
 
|gr1= Markers


|arg= global
|arg= global


| Returns marker size. This command is identical to [[getMarkerSize]].
|descr= Returns marker size. This command is identical to [[getMarkerSize]].


| '''markerSize''' markerName
|s1= [[markerSize]] markerName


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


| [[Array]] - in format [a-axis, b-axis], where:
|r1= [[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
* b-axis: [[Number]] - 1/2 height of marker
 
|x1= <code>_mSize = [[markerSize]] "Marker1";</code>


| [[setMarkerSize]], [[setMarkerSizeLocal]]
|x1= <sqf>_mSize = markerSize "Marker1";</sqf>
 
|seealso= [[setMarkerSize]] [[setMarkerSizeLocal]]
}}
}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|MARKERSIZE]]
[[Category:Scripting Commands OFP 1.96|MARKERSIZE]]
{{GameCategory|arma1|Scripting Commands}}

Latest revision as of 10:23, 13 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