Lumberyard
User Guide (Version 1.17)

Event Node

You can add an Event node to your sequence to trigger and send values to Script Canvas. You create Track Events using the Track View Events window. You then assign the Track Event to an animation key that is added to the track for the Event node. When the key is played during the sequence, the event is triggered. Script Canvas then uses the Track Event to trigger additional script logic.

To add an Event node

  1. In the Track View editor, select or create a sequence.

  2. In the node browser, right-click and choose Add Event Node.

  3. In the Track Event Name window, enter a name for the track and choose OK.

    This creates a Track Event node and a Track Event track is automatically to that node.

    
                    Creating track event nodes in a sequence.

To create a Track Event

  1. In the node browser, right-click and choose Edit Events. This opens the Track View Events window.

    
                    Creating a track event for a sequence.
  2. In the Track View Events window, click Add to create an event.

  3. Enter an event name and choose OK. Your track event appears in the window.

    
                    Enter a name for a track event in your sequence.
  4. When you are done, close the window. You can now specify this track event in Script Canvas.