Trigger Editor Controls

The Trigger Editor proposes a diversity of controls and shortcuts to manage and combine Triggers and Trigger Operators. This page lists all the classic manipulations helpful in designing and debugging a Trigger Graph.

Workspace manipulations

Drag the workspace with ALT+middle-click
Zoom in/out with mouse wheel or ALT+right-click
Frame the workspace to all Triggers/Trigger Operators of the current opened Trigger Container
Frame Triggers/Trigger Operators selection of the current opened Trigger Container
Resize the workspace to the real size

Triggers / Triggers Operators Manipulations

Select Triggers/Trigger Operators in the Trigger Graph

Add a Trigger/Trigger Operator into the Trigger Graph

Drag and Drop a Trigger into the workspace

Creating a Trigger/Operator with the hotbox

Remove a Trigger/Trigger Operator from the Trigger Graph

Remove a Trigger from the Trigger Graph

Set a Trigger/Trigger Operator as Root Trigger

Set And Trigger Operator as Root

Note:

Notice that the Root Trigger is marked with 

Save/Share Triggers, Trigger Operators and Trigger Containers

Triggers, Trigger Operators and Trigger Containers can be saved in a file (Maya ascii file) as a Custom Trigger and then reused in another simulation or shared between users. 

Notice that in order to work fine inside a complete different scene than the one where the master Trigger was saved, all meshes and objects mapped to saved Triggers are also saved (for example the zone trigger mesh of a Polygon Zone Trigger).

Save Triggers/Trigger Operators and Trigger Containers

Save a Trigger

The new Custom Trigger is saved in a Custom Trigger Directory. This directory can be changed in the Crowd Settings or by choosing "Set Custom Directory" in the contextual menu of the Custom Triggers Library.

Relocate the Custom Directory

Note:

Notice that if no Custom directory is set in the Crowd Settings, a dialog will ask you to choose one.

Open a Custom Trigger

The Custom Trigger is automatically loaded and ready to be linked and simulated.

Share Custom Triggers between users

A Custom Trigger can easily be shared with another user by simply providing him the file in which Custom Trigger has been saved (see Crowd Settings to locate the Custom Trigger directory). There are then several ways for this user to import Custom Trigger:

Enable/Disable Triggers

Triggers can be disabled inside the Trigger Graph to help designing and debugging complex actions without modifying the Trigger Graph. The disabled Trigger is overlaid with a disabled icon .

Disabled Current Frame trigger in a Trigger Container

A disabled Trigger is not evaluated during simulation, the next Trigger marked as enabled will be played.

Enable Triggers

  • On disabled Triggers, Click on the Trigger icon to switch the enable/disable status
  • Use the enable button  to enable selected Triggers
  • On disabled Triggers, use "Enable" in the context menu

Enable Trigger Context Menu

Disable Triggers

  • On enabled Triggers, Click on the Trigger icon to switch the enable/disable status
  • Use the disable button  to disable selected Triggers
  • On enabled Triggers, use "Disable" in the context menu

Disable Trigger Context Menu

Triggers/Trigger OPERATORS Sequence MANIPULATIONS

  • Use the link button  to draw a link between Triggers/Trigger Operators
  • Drag the mouse while holding the mouse middle-button in order to draw a link between Triggers/Trigger Operators
  • Drag-and-drop a Triggers/Trigger Operator to insert it in the middle of an existing link
  • Drag-and-drop with *ALT+mouse-left *desired Triggers/Trigger Operators out of the link
  • Use ALT+mouse-left and drag to draw a razor . Release to cut links
  • Use "Unlink" in the Trigger/Trigger Operator context menu

Unlink a Trigger