How to use State Event?

Hello,

An animation state on state machine has three properties; Entered State Event, Left State Event and Fully Blended State Event. It looks useful, but I don’t know how to use this.

At first, I added string “ReadyToFire” into Custom Blueprint Event form. By this, I became able to add “Add AnimNotify_ReadyToFire” on the EventGraph of the Vim Blueprint including that animation state. But the event wasn’t called.

And then, I tried to choose a Blueprint Notify by clicking the triangle button. But there was no option. Could you tell me how to use this?

Thanks in advance,

Kazuhisa Minato.

Hey Minato!

Using the Side Scroller template project, I was able to get the Custom Blueprint Event to work using the steps you described.

animnotify_landed.png

That workflow is not working for you?

I’m sorry for my late reply. Thank you for your reply. And I understood how to use this. Adding custom blueprint event shows up it under “Add State Machine Event” not Add Event in EventGraph.

addstatemachineevent.jpg

Thank you!

Can I add a question? I understood how to use Custom State Event. But I don’t know how to use Blueprint Notify. Can I find it somewhere?

Hi Kazuhisa,

For tracking purposes, please submit your inquiry as a new question. We’d be more than glad to help!

Thanks,

Sean

Just to let someone know that you have to create a custom event with the prefix “AnimNotify_”, otherwise , your event will not fire.
Cheers.

Hi
It seems that this is not a bug, you should add Anim Notify Event or State Machine Event in previous versions inside of your Animation Blueprint.
Reference this link:
strong text

I just wanted to add an update to this because there are a few solutions for this question on the forum which are suggesting a slightly more convoluted workflow than needed.

It is three step process to get these events to work:

  1. Type name of your event in the Custom Blueprint Event input

  2. Compile

  3. In the event graph, search that same name and an AnimNotify_ prefixed custom event has appeared

    note that if you make a custom event and type the same name yourself, it will not be called. You need to compile and use the auto-generated event.

Version with pictures: Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.

Thank you so much.