setMarkerPosLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "PositionAGL" to "PositionAGL") |
Lou Montana (talk | contribs) m (Text replacement - "Position2D" to "Position2D") |
||
Line 25: | Line 25: | ||
|p1= markerName: [[String]] | |p1= markerName: [[String]] | ||
|p2= pos: [[Array]] - format [[Position2D]], [[Position#PositionAGL|PositionAGL]] or [[Object]] (since Arma 3 v1.94) | |p2= pos: [[Array]] - format [[Position#Introduction|Position2D]], [[Position#PositionAGL|PositionAGL]] or [[Object]] (since Arma 3 v1.94) | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Revision as of 16:55, 5 January 2022
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 setMarkerPosLocal pos
- Parameters:
- markerName: String
- pos: Array - format Position2D, PositionAGL or Object (since Arma 3 v1.94)
- Return Value:
- Nothing
Examples
- Example 1:
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo";
Additional Information
- See also:
- setMarkerPossetMarkerAlphaLocalsetMarkerBrushLocalsetMarkerColorLocalsetMarkerDirLocalsetMarkerShapeLocalsetMarkerSizeLocalsetMarkerTextLocalsetMarkerTypeLocal
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 Armed Assault version 1.04
- ArmA: Armed Assault: New 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: Local Effect