Random Trigger Device
The random_trigger_device selects a target trigger from a weighted list and activates it when its primary trigger is fired. This device allows you to randomly determine which trigger to execute based on defined weight values.
Properties
Trigger
Type: trigger_device
The primary trigger device that initiates the random selection process when activated.
TargetTriggers
Type: []trigger_option
An array of trigger options that the device will randomly choose from. Each option includes a target trigger and a weight value that influences its chance of being selected.
AnyTargetTriggeredTriggers
Type: trigger_device
An additional trigger device that is activated when any of the target triggers is chosen and triggered.
Trigger Option
A trigger_option represents an individual option in the random selection process for the random_trigger_device.
Properties
Target
Type: trigger_device
The trigger device to be activated if this option is selected.
Weight
Type: int
A numeric weight that influences the probability of this option being chosen. Higher weights increase the chance of selection.