View Full Version : Ship trouble
Okay, using your vast knowledge of the MotS cogs, I need help. What I have is an elevator that goes up a LONG ways and it has windows on the side looking into a canyon thing. I want it so when you start going up the elevator a shuttle at ground level takes off, moves up (faster than the elevator) and then flys out of the canyon. Yah know, to give a bit more life to the elevator ride. I prefer to use a cog already with MotS. I tried to use them, but they all spaz out or don't work right, yet I don't know what I'm doing wrong.
------------------
www.tednation.tk (http://www.tednation.tk)
[SF]pjb
07-01-2004, 01:01 PM
this should work but i have not tested it
elivatior is the elivatior, shuttle the shuttle.
the endframe (int) is basicaly the same as the numframes of the shuttle, and the speed (flex) is the speed the shuttle needs to fly at.
symbols
thing elivatior linkid=1
thing shuttle linkid=2
message entered
message arrived
int endframe
flex speed
end
code
entered:
if(getsenderid()!=1) return;
movetoframe(shuttle,endframe,speed);
return;
arrived:
if(getsenderid()!=2) return;
if(getcurframe(shuttle)==endframe) destroything(shuttle);
return;
end
------------------
I am Darth PJB!
well, go on, run away!
i have a plastic lightsaber and a jedi cape.. am i a nerd?
If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.