Arma3 - Move an object to a new marker position

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