Massassi Forums Logo

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.

ForumsCog Forum → Ship trouble
Ship trouble
2004-07-01, 8:17 AM #1
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
2004-07-01, 10:01 AM #2
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.

Code:
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?
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?

↑ Up to the top!