Logic case

From Valve Developer Community
Revision as of 05:11, 26 November 2007 by AltalEtomo (talk | contribs)
Jump to navigation Jump to search

spanking personals siesta key florida home rental alissa milano nude multi vitamins free gay sex clips page erotic review map page hardcore latinas asian pic post girls in high heels erotic costumes petpound trolling striped bass nude cock medical billing and coding degree girls boarding schools broward jail information blue ridge georgia cabin rentals macked babes female masterbation mpeg clips home real estate scottsdale athletic trainer jobs mj morning show here gay black men fucking housekeeper sheboy naked comics excel tips scooter racing twistedlinks swiss cheese brutal sex male thong child care software map preteen anime slippery pussy sexy wedding dress womens swim suits website developer jl audio nude galleries ftv girls dan bern map sarah lane nude ocean breathes salty home free phone sex csi theme song real estate punta gorda uncensored rap videos live sex show cute backgrounds sex video free prescription drug plan underage teens nude cum on nipples page anel sex naughty nati ghetto boys mulan sex occupational therapist jobs nude spring break home here foot pain relief prescription pills shopping cum inside me lolitas boys sexy nuns perfect wife fotografie intrusion detection software medical billing and coding course train horn girls hot hot housewifes groupie love fist sex viviana gibelli banana girl piss flaps jenna jameson lesbian popular hairstyles map nude pam anderson here naked young teens real virgins anime 69 aphrodisiacs bls country stampede anderson sc real estate Template:Wrongtitle

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
Fired when the input value does not equal any of the Case values. (!activator is the activator)