The Random Trigger enables to start or stop a behavior randomly depending on a percentage.
- Behavior Editor / Trigger Library:
- Golaem Menu: Crowd Triggers / Triggers / CrowdTri Random Node
- MEL command: glmCrowdTriRandomCmd;
|%||Percent value to start or stop a behavior randomly.|
|Is Dynamic||If checked, a new random value will be computed for each Entity|
Note that this trigger being evaluated independently from the past at each frame, the given probability tends to be respected over the whole simulation, and not necessarily for a given frame. E.g. with a chance of 1% on 1000 characters, there is a (very small) probability to have 0 characters triggered at a given frame and 50 characters triggers at the next frame.