setMarkerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (template:command argument fix)
(24 intermediate revisions by 12 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#S|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


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


|1.21|= Game version


'''Operand types:'''
|eff= global |= Effects in MP
____________________________________________________________________________________________


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


'''size:''' [[Array]]
| markerName '''setMarkerSize''' [a-axis, b-axis] |SYNTAX=


'''Type of returned value:'''
|p1= markerName: [[String]] |PARAMETER1=


[[Nothing]]
|p2= [a-axis, b-axis]: [[Array]] |PARAMETER2=


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


Added in version '''1.21'''
|p4= b-axis: [[Number]]. 1/2 height of marker |PARAMETER4=


'''Description:'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>"MarkerOne" [[setMarkerSize]] [100, 200];</code> |EXAMPLE1=
____________________________________________________________________________________________


Set '''marker size'''.<br>
| [[getMarkerSize]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[createMarker]], [[setMarkerText]], [[setMarkerType]], [[setMarkerAlpha]] |SEEALSO=
Size is in format '''''[a-axis, b-axis]'''''.


}}


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


"MarkerOne" '''setMarkerSize''' [100, 200]
<!-- Note Section END -->
</dl>
 
<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