10.07.2011, 20:28
You have to map a gate, i think you know how to do this ( with mta for an example ). You must have the positions for Closed and for Opened. Now if the position for CLOSED is 85.1272,-222.7333,1.5781,354.7394,0,0 you have to do it like this:
The Objectid can for an example be 980.
And now at the Moveobject Part enter the position for OPENED, like that:
And then it have to work
pawn Код:
starsgate = CreateObject(ObjectID,85.1272,-222.7333,1.5781,354.7394,0,0);
And now at the Moveobject Part enter the position for OPENED, like that:
pawn Код:
MoveObject(starsgate,x-pos,y-pos,z-pos,speed); //The speed can for an example be 1.5