Jump to content

Home

Rotating door


Jemek Sunns

Recommended Posts

Well I'm working on a little something for my level, it's not really a door, but I need part of the floor to flip down 90 degrees, stay that way for a few seconds, so that whoever was ther can fall to their demise :), and tehn return to it's original position.

 

Now I've managed to ger it to rotate down, the only probablly is that it continues around a full 360 degrees. Does any one know how to make it stop at 90, then retract?

Link to comment
Share on other sites

I posted a similar question a while back, and the response I got was go learn ICARUS scripting, which I'm working on.

 

It sounds like you used a func_rotating, which was my initial approach. The problem is that it will continue rotating until you deactivate it, and when you deactivate it, it will "snap back" to its original position. Doh!

 

So forget making it a func_rotating. You need a script that does this:

 

rotate( <-90 0 0>, 1000 );

 

The three numbers in the brackets are pitch, yaw and roll. Pitching it down 90 degrees will make it rotate down. Then do another one to pitch it back to zero to bring it back.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...