Cronyne Posted August 19, 2010 I'm trying to make an elevator that can move up and down by using the sector (ala Duke Nukem 3D), but using two Sector Actions things won't work, even when deactivating them. Is there any script command that can check the height of the floor, then move the elevator accordingly? 0 Share this post Link to post
Keonesan Posted August 19, 2010 http://zdoom.org/wiki/Doom_Builder_ACS_configuration Not that I know of but I hope this helps. 0 Share this post Link to post
stewboy Posted August 19, 2010 See http://zdoom.org/wiki/GetSectorFloorZ. 0 Share this post Link to post
Cronyne Posted August 20, 2010 Well thanks stewboy for that action, looks like that's my bet. Problem is I worked it into a script, and it isn't working exactly right. It won't move down, it just clicks and stays in place. script 3 (void) { if (GetSectorFloorZ(12,0,0) < -7) Elevator_RaiseToNearest(12,20); else Elevator_LowerToNearest(12,20); }It's most likely something wrong with the 'if' line, but I don't see what. And sorry GreyGhost, I'm sticking with ZDoom. 0 Share this post Link to post