Creating Attack Animation Events
Last updated
Last updated
In order for Ability Objects to be triggered, an AI needs to have a certain Animation Event on each AI's attack animation. This allows the ability to trigger right at the desired frame. You can do this through the Emerald AI Animation View. If you are not familiar with opening this manager, please see the Opening the Animation Viewer section.
Once you have the Animation Viewer open, set the desired attack animation via the Current Animation pulldown.
Next, drag the timeline slider to the desired frame that you would like the attack event to happen. Next, use the Event Types pulldown to select the Create Ability. Pressing the Event button will automatically create the Create Ability event. You can apply your Attack Transform to the String parameter, if desired. When you are done, press the Apply Changes button. This will save the newly created Animation Events.
Important: You will need to do this for all the attack animations an AI uses.