setMarkerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(2 intermediate revisions by 2 users not shown) | |||
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 | ||
Line 33: | Line 33: | ||
|p1= markerName: [[String]] | |p1= markerName: [[String]] | ||
|p2= type: [[String]] - | |p2= type: [[String]] - see [[CfgMarkers]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 39: | Line 39: | ||
|x1= <sqf>"MarkerOne" setMarkerType "Warning";</sqf> | |x1= <sqf>"MarkerOne" setMarkerType "Warning";</sqf> | ||
|seealso= [[CfgMarkers]] [[setMarkerTypeLocal]] [[markerType]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerColor]] [[setMarkerDir]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[createMarker]] | |seealso= [[CfgMarkers]] [[setMarkerDrawPriority]] [[setMarkerTypeLocal]] [[markerType]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerColor]] [[setMarkerDir]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[createMarker]] | ||
}} | }} |
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