setMarkerPosLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
||
Line 25: | Line 25: | ||
}} | }} | ||
[[Category:Scripting Commands|SETMARKERPOSLOCAL]] | [[Category:Scripting Commands|SETMARKERPOSLOCAL]] | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} |
Revision as of 01:53, 18 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 setMarkerPosLocal pos
- Parameters:
- markerName: String
- pos: Array - format Position2D, PositionAGL or Object (since Arma 3 v1.93.145584)
- 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