Teleport a thing in the air
Posted: Thu Jan 29, 2004 2:01 pm
I like to teleport a Scripted Marine in the air (128 units up). The scripted marine will be teleported above of itself, but i have some troubles. i do this:
tag1= of the sector
tag2= of the map spot
tag3= of the Scripted Marine
but it don't work. ¿What is wrong?
Code: Select all
Sector_SetGravity(tag1,0,0); // to set the thing always in the air
Spawn("MapSpot",x,y,128.0,tag2);
TeleportOther(tag3,tag2,0);
Thing_remove(tag2);
tag2= of the map spot
tag3= of the Scripted Marine
but it don't work. ¿What is wrong?