Behavior Time Trigger

The Behavior Time Trigger enables to stop a behavior by returning true when a behavior has been running for a certain amount of time.

This trigger has no meaning as a starting trigger, as the behavior has not yet run.

Creation

  • Behavior Editor / Trigger Library: 
  • Golaem Menu: Crowd Triggers / Triggers / CrowdTri BehaviorTime Node
  • MEL command: glmCrowdTriBehaviorTimeCmd;

Configuration

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

Behavior Time Attributes

Seconds

The trigger will return true if the behavior has been running for X seconds;

Frames

The trigger will return true if the behavior has been running for X frames.

The resulting time for testing is the sum of the seconds parameter and the frames parameter.

This trigger has no meaning as a starting trigger, as the behavior has not yet run. Notice that this trigger can not be shared amongst different behaviors as it's linked to a specific behavior.