Rural or Urban? Where do you live?


  • Total voters
    8

Tango

Sauce Copter Enthusiast
Jul 10, 2017
198
241
I'm trying to make events happen based on variables, (like # of players etc) but how would I make a event random? Like pick from 1 - 10 and (1 being A and two being B) so I could have random outputs? Im just wondering, if anybody knows that would be very helpful.
 
Mar 23, 2013
1,013
347
https://developer.valvesoftware.com/wiki/Logic_case

So if you want to open one of three doors randomly you should give the logic-case these outputs:

OnCase01 - door1 - Open
OnCase02 - door2 - Open
OnCase03 - door3 - Open

Now give the logic case either an PickRandom or PickRandomShuffle input and it will fire one of the three outputs to open on of the three doors.