Creating a box operated door along with some other criteria

Creating a box operated door along with some other criteria

Re: Creating a box operated door along with some other criteria Posted by Necromancer on Tue Oct 11th 2011 at 10:16pm
Necromancer
392 posts
Posted 2011-10-11 10:16pm
392 posts 1499 snarkmarks Registered: May 5th 2008
First I will start by telling you what I have gotten to successfully work. I have a door and I made an indentation in the floor, marking where a box has to be set in order to activate the door. I tested it and it works exactly how I wanted it to. The setup I used for this was that I had a trigger_once covering the indentation and I had the following flags checked: no clients, and pushables. (So that way the player cannot activate it...a box must or any other pushable)

Now the part that I cannot get to work:
1) I want the door to stay open so long as a box is CONSTANTLY on the floor indentation, and if the box is removed then the door is closed.


2) Likewise if possible I would like the above to be true as well as a PLAYER can stand on the button and the door will open but if the player steps off then the door will close. (I tried using a game_zone_player, but it did not work, plus it would have to work for the box too becuase the box is going to be the needed item)
The first one is defintely the most important. Is this even possible to do, I would think that there would be some way to do it?