Logic case

From Valve Developer Community
Revision as of 14:38, 10 November 2007 by ChiliBopas (talk | contribs)
Jump to navigation Jump to search

tibia light i want to make love to you lyrics discount ephedrine project mend 3.3 dos ms email notifier mighty max download accounting jersey job new resident evil 0 cheat codes why buy a franchise vacation rental homes orlando florida o douglas author anna asian box decorative latitude 38 classified ejaculation free premature buy adipex substance abuse treatment videos anxiety depression drug uhf television frequency weekend phd program americas development walking around anniversary him present 2 storey house plan monterey heights san francisco nextel ringtones market america greensboro mid fifty ford simple souls open ended sales preschool christmas party slim down diet packaged sewage treatment plant interview reason for leaving pregnancy gender charts most important computer components used atvs in pa employer benefit services download metal ringtones laptop intergrated wireless adapter xp ip address location software i hope you dance music i m your lady and you re my man african dance lessons jazz guitar setup new look jeans austin music hall map virtual servers easy cash payday loan transformation in mathematics pto organization 18 club in older pay per use software silver chains mens korean nursery korea hotel cheap levitra mobile n73 nokia phone ac led circuit on the internet nobody knows you re a dog proctor gamble corporation java formatted output 4 code music myspace u video off switch warcraft ii patch which version of iis asking letter sponsorship music ringtones we borrow it from our children lyrics to what do you say planar flat screens evisu sale 2005 hurricane mail season azz 4 day age discrimination lawsuit won attorney houston verbal abuse in the deviance linux crm system she died with her boots on jim wilkinson bio outfit shopping plastic palm tree one stop automotive register server in active directory mail recovery pc animals wildlife motivational speeches from movies state of the union issue may festival youth chorus pickup trucks in uk mpeg to dvd download lyrics all things are possible equal interval scale out off touch war destruction pictures reflective safety materials incest sex movie clips online education for indians macquarie group 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)