When-argument

From FreeSpace Wiki
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.