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 04:11 PDT
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 04:23 PDT
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 04:23 PDT
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 05:48 PDT — Ed. 2011 Sep 4 at 05:49 PDT
SuperJer
Websiteman

2005 Mar 20 • 6226
Wait. It does? That seems really useful. How'd you find that?
 
 
2011 Sep 8 at 00:46 PDT
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 02:51 PDT
Page [1]