Random Selector?

Like such as the NIPPER
Post Reply
User avatar
Splunk
Posts: 110
Joined: Thu Apr 09, 2009 5:16 pm
Location: Toronto, eh?

Random Selector?

Post by Splunk » Tue Feb 16, 2010 5:22 pm

Is it possible to create a button that randomly selects 1 out of three options, such as randomly choosing 1 room out of 3 to kill the person inside?
Image
User avatar
joe
The Big Cheese
Posts: 32538
Joined: Sun Mar 03, 2002 2:40 am
Location: northern california
Contact:

Re: Random Selector?

Post by joe » Tue Feb 16, 2010 5:23 pm

what game? what options?
"To perceive is to suffer" - Aristotle
mbaxter appreciates the beef
User avatar
MrBlip
It was inevitable.
Posts: 6918
Joined: Fri Jan 28, 2005 9:55 pm
Location: Narshe

Re: Random Selector?

Post by MrBlip » Tue Feb 16, 2010 6:02 pm

If source, kind of yes, but it requires a series of logic entities. I'll get you the list and specifics later tonight.
9:18 PM - mrblip: im allowed to have my own opinions
9:19 PM - Dr. Doctorpus: no youre not
User avatar
Dr.Boo
Posts: 2948
Joined: Mon Oct 24, 2005 2:47 pm
Location: The haunted Hang Castle

Re: Random Selector?

Post by Dr.Boo » Wed Feb 17, 2010 5:06 am

Yeah with a logic_case and have a trigger select one of the possible scenarions randomly.
Image
joe wrote:what's it like, being stupid? try to describe it for us please
User avatar
bl4nk
BOOBIES
Posts: 15254
Joined: Mon Jun 02, 2003 9:03 pm

Re: Random Selector?

Post by bl4nk » Wed Feb 17, 2010 5:07 am

Try using a logic_case's "PickRandom" input.

[edit]

Beaten.
Image
User avatar
Splunk
Posts: 110
Joined: Thu Apr 09, 2009 5:16 pm
Location: Toronto, eh?

Re: Random Selector?

Post by Splunk » Wed Feb 17, 2010 4:50 pm

for cs 1.6?
Image
User avatar
LOOK, IT'S ADAM!!!
Posts: 194
Joined: Mon Nov 09, 2009 2:43 pm
Location: SLO, California.

Re: Random Selector?

Post by LOOK, IT'S ADAM!!! » Thu Feb 18, 2010 4:25 am

could this be applied to choosing what round you have next? like if i were to have a tf2 map with 7 rounds, and i wanted it to choose them at random, would this work in a similar manner?
"LOOKS LIKE ITS TIME TO CRASH TF4" - fatso
(in response to me whining about how no one is ever on my server)

Image
Post Reply