• HELP! Need door help.
    2 replies, posted
In deathrun there is a trap where there are 2 or 3 doors where one is safe and other 2 Gets you killed. Does anyone know how to make these in Hammer? If you do please Tell me how
func_button with three triggers. Whatever button you press "enable"s that door's trigger_hurt so whenever someone runs through it, it kills them. [t]http://puu.sh/5RrnZ.jpg[/t]
I personally would make it random every time you play. Otherwise people will soon learn which door is safe. A setup for three doors would be as follows. I assume you have "some" knowledge of the I/O system and entities. 1. Add three doors. 2. Place a trigger hurt around each one and give them each a name, i.e door_hurt_1... 2 ... 3. 3. Make a button for each door. Add the outputs to open the appropriate door for each button. 4. Now add a logic_case and give it a name. Then, enter each name of your trigger_hurt in Case 1, 2 and 3. 5. Add an output on each button to call "pick random" on your logic_case. 6. Go back to your logic case and add the following outputs: OnCase01 > door_hurt_1 > Enable OnCase02 > door_hurt_2 > Enable OnCase03 > door_hurt_3 > Enable OnCase01 > door_hurt_1 > Disable (1 second delay) OnCase02 > door_hurt_2 > Disable (1 second delay) OnCase03 > door_hurt_3 > Disable (1 second delay) Don't forgot to flag/set Start Disabled on your trigger hurts. Now, if I'm not mistaken it should be random every time you try a door. One will be deadly, two will be safe.
Sorry, you need to Log In to post a reply to this thread.