Forum   Search   Register   Log in SUBADAR FORUM
 

Randomizing?

Pages: [1]
Hammer Mapping
sin
2011 Aug 15 • 58
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
SRAW
Rocket Man

2007 Nov 6 • 2146
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
SRAW
Rocket Man

2007 Nov 6 • 2146
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
sin
2011 Aug 15 • 58
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.
    (Edited 2011 Sep 4 at 05:49)     2011 Sep 4 at 05:48
superjer
superjer

2005 Mar 20 • 3767
Wait. It does? That seems really useful. How'd you find that?
    2011 Sep 8 at 00:46
sin
2011 Aug 15 • 58
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

Pages: [1]
Forum and design copyright © 2008-2010 SuperJer.com