markerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MARKERSIZE]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.96|MARKERSIZE]]
[[Category:Scripting Commands ArmA|MARKERSIZE]]
[[Category:Command Group: Markers|MARKERSIZE]]
{{Command|= Comments
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|1.5|= Game version
|version1=
|arg= global|= Arguments in MP
____________________________________________________________________________________________


| Returns marker size. This command is identical to [[getMarkerSize]]. |= Description
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| '''markerSize''' markerName |= Syntax
|game3= arma1
|version3= 1.00


|p1= markerName: [[String]] |= Parameter 1
|game4= arma2
|version4= 1.00


| [[Array]] - in format [a-axis, b-axis], where:
|game5= arma2oa
* a-axis: [[Number]] - 1/2 width of marker
|version5= 1.50
* b-axis: [[Number]] - 1/2 height of marker |= Return value
 
____________________________________________________________________________________________
|game6= tkoh
 
|version6= 1.00
|x1= <code>_mSize = [[markerSize]] "Marker1";</code> |= Example 1
 
____________________________________________________________________________________________
|game7= arma3
|version7= 0.50
 
|gr1= Markers
 
|arg= global
 
|descr= Returns marker size. This command is identical to [[getMarkerSize]].


| [[setMarkerSize]], [[setMarkerSizeLocal]] |= See also
|s1= [[markerSize]] markerName


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


<h3 style="display:none">Notes</h3>
|r1= [[Array]] - in format [a-axis, b-axis], where:
<dl class="command_description">
* a-axis: [[Number]] - 1/2 width of marker
<!-- Note Section BEGIN -->
* b-axis: [[Number]] - 1/2 height of marker


<!-- Note Section END -->
|x1= <sqf>_mSize = markerSize "Marker1";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[setMarkerSize]] [[setMarkerSizeLocal]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11: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