When-argument

From FreeSpace Wiki
Revision as of 20:07, 26 July 2009 by Snail (talk | contribs) (New page: When-argument (Conditional operator) Performs specified actions when a condition, given a set of arguments, becomes true. Takes 3 or more arguments... 1: The arguments to evaluate ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
When-argument (Conditional operator)
	Performs specified actions when a condition, given a set of arguments, becomes true.

Takes 3 or more arguments...
	1:	The arguments to evaluate (see any-of, every-of, random-of, etc.).
	2:	Boolean expression that must be true for actions to take place.
	Rest:	Actions to take when the boolean expression becomes true.