PDA

View Full Version : Elevators



-Monoxide-
03-25-2005, 09:45 PM
Hey guys, I wanna do an elavator, but I wanna do it an a different way than the tutorial does it in the "Tutorials" section, is there a different tutorial I can use to do elevators in a different way? Thanks.

gbk
03-25-2005, 10:11 PM
What would you like to do different?

-Monoxide-
03-26-2005, 12:01 AM
I don't want it to be activated by adjoin, because my level has soo much cleaving in it right now, it would be too tedious to set all of the adjoins, etc.
I just want it so you step on teh elavator, it goes up to frame, and then it goes down to the original frame after it sleeps for a bit.

Edward
03-26-2005, 06:47 AM
I have a few alternatives...

You could either, instead of crossing an adjoin, entering a sector (elev shaft), or entering the elev itself.

Entered message tests for both entering a sector and stepping onto a surface or thing.

/Edward

gbk
03-26-2005, 10:57 AM
Change the "Message Crossed" bit in the symbols section with "Message Entered", then change "Crossed:" with "Entered:" in the code. ;)

darthslaw
03-26-2005, 01:11 PM
Originally posted by Edward
Entered message tests for both entering a sector and stepping onto a surface or thing. I'd like to append something here -- yes, entered will be called when you enter a sector, but entered will be called when you step onto a surface or thing if they have the appropriate 'floor' flag. (0x2 for surfaces, and 0x40 for things); otherwise, the surface or thing will send a 'touched' message instead.

-Monoxide-
03-26-2005, 02:17 PM
Originally posted by Edward
I have a few alternatives...

You could either, instead of crossing an adjoin, entering a sector (elev shaft), or entering the elev itself.

Entered message tests for both entering a sector and stepping onto a surface or thing.

/Edward

The sector cog sounds good, wanna hook me up with a cog?

a_person
03-26-2005, 04:50 PM
Theres a cog that does this in the massassi cog section:


http://www.massassi.net/cogfiles/both/simpleele.cog


I think thats what your after.