OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wildebeest on 16 Oct 2002, 23:21:57
-
Hi, does anyone know how to make an object "teleport" to the position of another object? I know how to teleport something to a specified pos on the map, but not to another object. Plz help me yall... thx :)
-
just use this syntax...
this setpos [getpos objectname select 0, getpos objectname select 1,0]
objectname is the name you designate in the editor for that unit
-
Try:
object1 setpos (getpos object2)
;)
-
Wow it works! Thx for the spells guys :wave: