Well, actually a modifaction. Just make this cog so after it jumps back to frame 0, it has a specifiable timer before it can be started up again. This is because when players are riding it, and it stops, it starts again before they can get off because when they walk on it to jump off the side, it will start moving again.
# Resets to frame0 after arrival.
#
# 01/2002 - 03/2002 GBK
Symbols
Message Entered
Message Arrived
Thing Plat
Flex Movespeed=2.0
Int Lastframe=9
End
Code
Entered: If(Isthingmoving(Plat) != 0) Stop;
Movetoframe(Plat, Lastframe, Movespeed); Stop;
Arrived: If(Getcurframe(Plat) != 0) Skiptoframe(Plat, 0, 1);
Stop;
End
------------------
The truth is out there, but so are lies.
# Resets to frame0 after arrival.
#
# 01/2002 - 03/2002 GBK
Symbols
Message Entered
Message Arrived
Thing Plat
Flex Movespeed=2.0
Int Lastframe=9
End
Code
Entered: If(Isthingmoving(Plat) != 0) Stop;
Movetoframe(Plat, Lastframe, Movespeed); Stop;
Arrived: If(Getcurframe(Plat) != 0) Skiptoframe(Plat, 0, 1);
Stop;
End
------------------
The truth is out there, but so are lies.