Randomizing?

Randomizing?

Hammer Mapping — Page [1]
sin
2011 Aug 15 • 74
How do I Randomize an option?

Like there are 2 doors in my map,I want only 1 door to open each round, by random. how do i do that?

Or how do I randomize at all?
 
 
 
2011 Sep 4 at 11:11 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
The only way I can see you doing it is by using spawn points, so make them all spawn in this box and half of the boxes have a trigger_multiple that causes one door to open, and the other half has the other trigger_multiple.
Then they will fall through the trigger_multiple into a trigger_teleport and get teleported into the area they are supposed to be in
Free Steam Games
 
 
 
2011 Sep 4 at 11:23 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
Of course this probably only works with one player, so just see what happens if there are many people and if it is random, you know it works!
Free Steam Games
 
 
 
2011 Sep 4 at 11:23 UTC
sin
2011 Aug 15 • 74
Exactly what I was thinking!,
But I used env_beam, Every round it shoots at a random target, cuz i think it might function better.
 
 
 
2011 Sep 4 at 12:48 UTC — Ed. 2011 Sep 4 at 12:49 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
Wait. It does? That seems really useful. How'd you find that?
 
 
 
2011 Sep 8 at 07:46 UTC
sin
2011 Aug 15 • 74
What I did is that I let the Beam in the middle of two func_button and behind each button is the beam's target and every time beam hits a button it triggers the thing i want. I can do this with more than 2 buttons.
 
 
 
2011 Sep 8 at 09:51 UTC
Page [1]