setMarkerPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
||
Line 22: | Line 22: | ||
|[[setMarkerPosLocal]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[createMarker]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[setMarkerAlpha]] | |[[setMarkerPosLocal]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[createMarker]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[setMarkerAlpha]] | ||
}} | }} | ||
Revision as of 00:36, 19 January 2021
Description
- Description:
- Moves the marker. If position is given in 3D format, z coordinate is stored with the marker and will be used when marker is passed to commands like createVehicle, createUnit, createAgent, createMine, setVehiclePosition for example. When Object is used for position, PositionWorld of the object is used.
- Groups:
- Markers
Syntax
- Syntax:
- markerName setMarkerPos pos
- Parameters:
- markerName: String
- pos: Array - format Position2D, PositionAGL or Object (since Arma 3 v1.93.145584)
- Return Value:
- Nothing
Examples
- Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"
Additional Information
- See also:
- setMarkerPosLocalsetMarkerBrushsetMarkerColorsetMarkerDircreateMarkersetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypesetMarkerAlpha
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
- Pulverizer
- Effect is local in OFP.
- Posted on August 7, 2009 - 02:03 (CEST)
- Dr Eyeball
- The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since markerPos will still return 0 for the altitude array element.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Markers
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands