Arma3 - Move an object to a new marker position

From ScottWiki
Revision as of 17:13, 15 December 2022 by Wikiadmin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This will move a player to same position as a marker on the map.

player setPosASL [(getMarkerPos "marker") select 0, (getMarkerPos "marker") select 1,(markerDir "marker")];


This will move the Helicopter "Hotel_1" to same position as a marker "H1_NewPos1" on the map at an altitude of 50.

Hotel_1 setPosASL [(getMarkerPos "H1_NewPos1") select 0, (getMarkerPos "H1_NewPos1") select 1,50];