setMarkerDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{Feature|informative|'''Multiplayer optimisation:''' Global marker commands always broadcast the ''entire'' marker state over the network. As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).}}" to "{{Feature|informative| '''Multipla...)
 
(61 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= ofpe
|version1= 1.00


|1.00|= Game version
|game2= arma1
|version2= 1.00


|eff= global |= Effects in MP
|game3= arma2
____________________________________________________________________________________________
|version3= 1.00


| Sets the orientation of the marker. Angle is in degrees. |= Description
|game4= arma2oa
____________________________________________________________________________________________
|version4= 1.50


| "NameOfMarker" '''setMarkerDir''' Degrees |= Syntax
|game5= tkoh
|version5= 1.00


|p1= NameOfMarker: [[String]] |= Parameter 1
|game6= arma3
|version6= 0.50


|p2= Degrees : [[Number]] |= Parameter 2
|gr1= Markers


| [[Nothing]] |= Return value
|eff= global
____________________________________________________________________________________________
 
|x1= <pre>"Marker1" setMarkerDir 90</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|descr= Sets the orientation of the marker. Angle is in degrees.
{{Feature|informative|
'''Multiplayer optimisation:''' Global marker commands always broadcast the ''entire'' marker state over the network.
As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).
}}


}}
|s1= markerName [[setMarkerDir]] angle
 
|p1= markerName: [[String]]
 
|p2= angle: [[Number]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


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


<h3 style="display:none">Bottom Section</h3>
|seealso= [[markerDir]] [[setMarkerBrush]] [[createMarker]] [[setMarkerColor]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[setMarkerType]] [[setMarkerAlpha]]
[[Category:Scripting Commands|SETMARKERDIR]]
}}
[[Category:Scripting Commands OFP Elite |SETMARKERDIR]]
[[Category:Scripting Commands ArmA|SETMARKERDIR]]
[[Category:Command Group: Markers|SETMARKERDIR]]

Latest revision as of 21:28, 28 October 2024

Hover & click on the images for description

Description

Description:
Sets the orientation of the marker. Angle is in degrees.
Multiplayer optimisation: Global marker commands always broadcast the entire marker state over the network. As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).
Groups:
Markers

Syntax

Syntax:
markerName setMarkerDir angle
Parameters:
markerName: String
angle: Number
Return Value:
Nothing

Examples

Example 1:
"Marker1" setMarkerDir 90;

Additional Information

See also:
markerDir setMarkerBrush createMarker setMarkerColor setMarkerPos setMarkerShape setMarkerSize setMarkerText setMarkerType setMarkerAlpha

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