ObjCondition Random

From Tripwire Interactive Wiki
Jump to navigation Jump to search

Description


Random conditions contain a list of other conditions and pick one at random to activate. The number of possible conditions they can activate is infinite, but they will always pick only one to activate.

Configurable Properties

Variable Name Variable Type Description
RandomConditions Array<Struct> This is where you add the conditions you want to randomly choose from. The 'Priority' value will increase or decrease the likelihood of one condition being chosen over another.
PriorityBias Float This value scales the amount of 'randomness'. A lower value means more randomness while a higher value means less. it defaults to 0.5 and should never be more than 1.0

Back