setMarkerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= ofp | |game1= ofp | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= | |game2= ofpe | ||
|version2= 1.00 | |version2= 1.00 | ||
|game3= | |game3= arma1 | ||
|version3= 1.00 | |version3= 1.00 | ||
|game4= | |game4= arma2 | ||
|version4= 1.00 | |||
|version4= 1. | |||
|version5= 1. | |game5= arma2oa | ||
|version5= 1.50 | |||
|game6= | |game6= tkoh | ||
|version6= 1.00 | |||
| | |game7= arma3 | ||
|version7= 0.50 | |||
|gr1 = Markers | |gr1= Markers | ||
|eff= global | |eff= global | ||
|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 36: | Line 33: | ||
|p1= markerName: [[String]] | |p1= markerName: [[String]] | ||
|p2= type: [[String]] - | |p2= type: [[String]] - see [[CfgMarkers]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|seealso= [[CfgMarkers]] [[setMarkerTypeLocal]] [[markerType]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerColor]] [[setMarkerDir]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[createMarker]] | |x1= <sqf>"MarkerOne" setMarkerType "Warning";</sqf> | ||
|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