I'm making a level where trooptrans fly across a canyon. What cog should I use for the trooptran to move. I prefer the trooptran to be active by hitting a switch. Someone please help me.
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
# Jedi Knight Cog Script # # Moves the transport to the last frame by hitting a switch # # [DP] # symbols thing transport nolink surface switch sound wav0=Activate02.wav flex speed int numframes int done=0 local message activated end # ======================================================================================== code Activated: If(done) Return; done = 1; SetWallCel(switch, 1); PlaySoundPos(wav0, SurfaceCenter(button), 0.6, -1, -1, 0); MoveToFrame(transport, numframes-1, speed); Return; end