Logic case

From Valve Developer Community
Revision as of 08:40, 11 May 2008 by TroccNazel (talk | contribs) (rolcnacna)
Jump to navigation Jump to search

domain dream catcher internet proxy services parafoils konserwatyzm sensual damien rice cannonball mandy moore only hope english french services translation mother poems farm pussies osiraq strike joe rocket leathers archery target plus projectors usa surfing realtor natural hair care cancel orleans ma home landscapers run about closer nin russian pre teen models annas taqueria boston svengali nn models pc comparison guide savitt medical library men wearing corsets bras girdles maxxis nutrition interest news groups telling time activities dahlia bulbs matt savoie figure skater seatac airport shuttle service wichita mls lift tickets for keystone pay as you go camera phones vintage magazines for sale fairy costumes eva mendes here buddy holly free dick gallery john deere gator battery charger autonomy of art umpkin patterns nelson bc banquet facilities modern ceiling fans automotive car comparison selant test wax dutch women off ya tree kissimmee vacation homes angelic escort jay leno auction springdale arkansas real estate berlin adolescents diaper girl pee triangle factory fire scandal lavasoft ad aware web conspiracy magazine which online trial versatile combines longchamp limited clothing royal hawaiian www.disneychanel.com new york weather carly juggs hand garden tools reaching tool rivet machines u2 fan club password pine math clip art blank maps barska jae p esperanza locate address until the day i die camping toilet air ambulance company antique chair nitrofurantoin in-wall monitor speakers act introduction needlestick prevention safety racing strip decals adventure travel birmingham gs venus power stck terry mcmillan rontini frankie j loan personal secure uk mule 550 jazz guitar setup zirc severance photo best way finger a girl campingworld.com posthumous portrait nordahl realty scoot social security fraud ventshade red cross lifeguard course new audi a6 pictures sora digimon palace greek goddess iris harpers site linda lorenzen city data porch banister kennesaw playboybunny paymaster index geographical maps penis enhancement pills stalk n club greensboro nc lauren conrad picture rooms to go furniture.com zoom tooth whitening round rock kbr iraq employment auto3 code grand theft model rocket engines main elisha cuthbert maxim metal oxide transition ai iijima jeffrey moore basketball url alcohol withdrawal deciduous forests linear motion slides une victoire rasmusen foundation notable movie critics reviews pension system nelly its all in my head lyrics mansfield university mutual assurance administrators inc. shango kayak uk sigchld waitpid plasma welding electrodes english pointers for sale nathans pickles miss slovakia domain escort transsexual vogue australia forums 1.5 firefox saver session pig cartoon index texas association of county pekinese tbi link olive sexually touching yourself royce melissa keller missing girl site myspace.com large illuminated globe invitation card wells fargo stock price history healthcare schools pippin free amateur galleries mat hoffman matthew west exercise equipment getbig.com linoleum phoenix woman worship rear projection tvs uk luther dance with my father lyrics taylor rain videos imported belgian malinois prosthetic rush the band tubal reversal real estate home inspection call centre training collector cars for sale eyes, photography juan gotti hawaii state flower modular home ontario canada shocks floam business names ideas bibi kelly madison web site the sims cheat codes raucous happiness Template:Wrongtitle Template:Base point

Entity description

Logic case.png

Compares an input to up to 16 preset values. If the input value is the same as any of the preset values, an output corresponding to that value is fired.

For example: If Case01 is set to 2 and Case02 is set to 5, and the input value is 5, the OnCase02 output will be fired.

This entity can also be used to select from a number of random targets via the PickRandom input. One of the OnCase outputs that is connected to another entity will be picked at random and fired.

Note.pngNote:This entity with not recognize float values ending in 0 (like 0.50 or 1.00). Simply remove these.
  • The ideal entity for randomized events.
  • Use with logic_timer for extremely random events.

Keyvalues

  • Case(01-16)
<string>

Inputs

  • InValue <string>
Compare the Input value to the case values, and fire the appropriate output, if any.
  • PickRandom
Fire a random OnCase output with at least one connection.
Fires a random OnCase output with at least one connection, with no repeats until all cases have been picked, at which point the shuffle starts over.

Outputs

  • OnCase(01-16)
Fired when the input value equals the Case(01-16) value. (!activator is the activator)
  • OnDefault <string>
Fired when the input value does not equal any of the Case values. (!activator is the activator)