GBK wrote this, yet it does nto work. Anybody know why? What i want it to do is well, i have a transport in my level. WHen you walk on it i want it to go through all of its 9 frames. But the last frame is the first frame, so bascially it goes through a circle and stops where it started.
# Resets to frame0 after arrival.
#
# 01/2002 GBK
Symbols
Message Entered
Message Arrived
Thing Plat
Flex Movespeed=2.0
Int Lastframe=9
Int L=0 Local
End
Code
Entered: If(Isthingmoving(Plat) != 0 || L != 0) Stop;
L=0; Movetoframe(Plat, Lastframe, Movespeed); Stop;
Arrived: Skiptoframe(Plat, 0, 1000);
Waitforstop(Plat); L=0; Stop;
End
------------------
"Does that compute?
Or do I need to draw you a schematic!?"
# Resets to frame0 after arrival.
#
# 01/2002 GBK
Symbols
Message Entered
Message Arrived
Thing Plat
Flex Movespeed=2.0
Int Lastframe=9
Int L=0 Local
End
Code
Entered: If(Isthingmoving(Plat) != 0 || L != 0) Stop;
L=0; Movetoframe(Plat, Lastframe, Movespeed); Stop;
Arrived: Skiptoframe(Plat, 0, 1000);
Waitforstop(Plat); L=0; Stop;
End
------------------
"Does that compute?
Or do I need to draw you a schematic!?"