Arma3 - Move an object to a new marker position: Difference between revisions

From ScottWiki
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:13, 15 December 2022

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