Random Trigger

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;


A Random Trigger defines the following specific attributes. For common attributes see Trigger Common Attributes.

Random Attributes

% Percent value to start or stop a behavior randomly.
Is Dynamic If checked, a new random value will be computed for each Entity
This attribute is influenced by the random seed of the Crowd Manager

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.