Arma3 - Move an object to a new marker position

From ScottWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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];