Event Notification

Event Notification

This tutorial demonstrates how to play effects or facial animations, synchronized with an animation by using the Extra Properties of states in the animation graph.

  • Create a view and a state for this tutorial.

  • Prepare an input for testing.

  • Set the usual state properties and add AttachmentEffect.

  • The 'AttachmentEffect' is for spawning a particle effect on a character attachment.
  • Your character should have an attachment for this.

  • Add a particle effect.

  • Set 'Extra Properties'.

  • Set Attachment Name to the name of the bone attachment of the character.
  • Set 'Particle effect' to the path* of the particle effect that we chose. The path should be in the form of *libraryname.itemname.effectname.
  • Check that it works.

  • ag_debug target_entity
  • ag_logeffects 2

This is a console command for logging the attachment effect.

  • ag_stance test_effect

You can check whether or not the effect is played properly with the animation.