setMarkerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(23 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#S|COMREF]]
| ofp |= Game name


<h2 style="color:#000066">'''''marker'' setMarkerSize ''size'''''</h2>
|1.21|= Game version


|eff= global |= Effects in MP
____________________________________________________________________________________________


'''Operand types:'''
| Set marker size.
Size is in format [a-axis, b-axis]. |DESCRIPTION=
____________________________________________________________________________________________


'''marker:''' [[String]]
| markerName '''setMarkerSize''' [a-axis, b-axis] |SYNTAX=


'''size:''' [[Array]]
|p1= markerName: [[String]] |PARAMETER1=


'''Type of returned value:'''
|p2= [a-axis, b-axis]: [[Array]] |PARAMETER2=


[[Nothing]]
|p3= a-axis: [[Number]]. 1/2 width of marker |PARAMETER3=


'''Compatibility:'''
|p4= b-axis: [[Number]]. 1/2 height of marker |PARAMETER4=


Added in version '''1.21'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>"MarkerOne" [[setMarkerSize]] [100, 200];</code> |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
| [[getMarkerSize]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[createMarker]], [[setMarkerText]], [[setMarkerType]], [[setMarkerAlpha]] |SEEALSO=


Set '''marker size'''.<br>
}}
Size is in format '''''[a-axis, b-axis]'''''.


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


"MarkerOne" '''setMarkerSize''' [100, 200]
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETMARKERSIZE]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SETMARKERSIZE]]
[[Category:Scripting Commands OFP 1.46|SETMARKERSIZE]]
[[Category:Scripting Commands ArmA|SETMARKERSIZE]]
[[Category:Command Group: Markers|SETMARKERSIZE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Set marker size. Size is in format [a-axis, b-axis].
Groups:
Uncategorised

Syntax

Syntax:
markerName setMarkerSize [a-axis, b-axis]
Parameters:
markerName: String
[a-axis, b-axis]: Array
a-axis: Number. 1/2 width of marker
b-axis: Number. 1/2 height of marker
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerSize [100, 200];

Additional Information

See also:
getMarkerSizesetMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapecreateMarkersetMarkerTextsetMarkerTypesetMarkerAlpha

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