setMarkerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
Line 27: | Line 27: | ||
|descr= Sets marker type. Marker type is a class name from [[CfgMarkers]]. | |descr= Sets marker type. Marker type is a class name from [[CfgMarkers]]. | ||
{{Feature| | {{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 [[setMarkerType]] type | |s1= markerName [[setMarkerType]] type |
Latest revision as of 01:26, 2 February 2024
Description
- Description:
- Sets marker type. Marker type is a class name from CfgMarkers.
- Groups:
- Markers
Syntax
- Syntax:
- markerName setMarkerType type
- Parameters:
- markerName: String
- type: String - see CfgMarkers
- Return Value:
- Nothing
Examples
- Example 1:
- "MarkerOne" setMarkerType "Warning";
Additional Information
- See also:
- CfgMarkers setMarkerDrawPriority setMarkerTypeLocal markerType setMarkerAlphaLocal setMarkerBrush setMarkerColor setMarkerDir setMarkerPos setMarkerShape setMarkerSize setMarkerText createMarker
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Markers
- Scripting Commands: Global Effect