Jemek Sunns Posted September 19, 2002 Share Posted September 19, 2002 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 More sharing options...
JavaGuy Posted September 19, 2002 Share Posted September 19, 2002 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 More sharing options...
Jemek Sunns Posted September 19, 2002 Author Share Posted September 19, 2002 Sounds simple enough, so I just create the script, but how do I make it target the door? Link to comment Share on other sites More sharing options...
Darth Link Posted September 19, 2002 Share Posted September 19, 2002 make a target_scriptrunner and ctrl+k it to the door.i think thats how it works but since ive never done scripting,im not sure. Link to comment Share on other sites More sharing options...
JavaGuy Posted September 20, 2002 Share Posted September 20, 2002 Give the door a targetname, then put an affect clause in your script. affect ( "my_door", FLUSH ) { rotate ( < -90 0 0 >, 1000 ); } A sound to go with it would be good too. People don't put enough sound in their maps. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.