Phobus wrote:...you could make a selection script a bit like solarsnowfall once did to make a keypad that could be typed on much like the interfaces in Doom 3.
I have seen the
keypad example by Isle, which is a terrific application, but far too complex for my needs, methinks. Perhaps you were thinking of solarsnowfall's
DooM card game with a similar principle?
Gez wrote:There is a way to force a height check on the switch, and it is when the switch is placed on a 3D middle texture. But then you have to use two different linedefs for the switch.
Although I've already solved my problem using LWM's suggestion, would you point me to an example of such a height check? I know how to do a player's height check, but not one where the crosshair's height is checked.
Blzut3 wrote:Polywait
Yes, this is what I was looking for. [I figured there was some polyobject equivalent of TagWait.] Thanks.
Blzut3 wrote:You're looking for == the comparison operator not = the assignment operator.
Isle wrote:having to hit exactly 0 pitch would make it too hard to use. I'd just put another open door switch next to it. though you could do them in a row but it would take a bit more math.
Blzut3, thanks for the clarification.
Isle, you're correct about the difficulty of hitting 0 pitch exactly. In the dozens of times I've tested the switch I've gotten it right only once. I think that the simplest way to do it is to use PolyWait to prevent the switch in the elevator from being used until the doors have closed, and allow the player to use the doors to open them.
Two additional questions:
1. Using PolyWait I can immobilize either the switch in the elevator or the one on the floor (outside the elevator door). How do I immobilize the switch outside until the doors, when opened using the switch inside the elevator, have closed (and vice versa)?
2. If I open the doors (use the polyobject) from inside the elevator, how do I immobilize the switches until the doors have closed?
Perhaps I can put PolyWait at the top of each script, and solve both problems? (I'm off to give it a shot.)
EDIT: I just tested the scripts with PolyWait at the top & bottom of each segment of my scripts, and it works flawlessly.