AnimBlueprint: go to State when an Event fires?

Hi, I would like to find a way to directly make the Slate Machine of my character’s Animation Blueprint go to a certain State when a specific Event is fired from the character blueprint.

I know it is to do this in other ways, but I’m just wondering if there’s something faster: Currently I’m achieving this using setting to true a bool in the character blueprint, that is exposed to the Anim Blueprint to set another bool, and there’s a Set Timer function in the character blueprint to set the first bool to false through another custom function after a bit of time passes.

If not possible yet, consider a request what has been written in the first paragrah.

Any suggestions?

Hi Albert,

I don’t think I quite understand what you are asking. Specifically, I don’t see why you would need a timer to set the bool in your Character BP back to false. Is the timer set to the length of the animation or something?

Hi, Ray, I’ll try to explain it better: what I would like to have is a direct way to make that when a certain Event fires in the character blueprint, its AnimBlueprint transitions or changes to a certain State. So what I’m asking is something like that is available by now in UE4.

Until now, to deal with State transitioning in the AnimBlueprint of a character, I’ve done it basically through bools, when a bool is true or false it moves to a state or another and so (simply put). That bool in the AnimBlueprint is set on every AnimBlueprint update to the value of a related bool in the character blueprint that is set to true or false when an Event is fired in the character blueprint.

As an exemple, I have a State called “DoubleJumping”, that is activated in the AnimBlueprint when the bool “IsDoubleJumping?” is true, that bool is set to be always equal to the bool “HasDoubleJumped?” in the character blueprint, that is set to true when some conditions meet in the Event “Input Jump” (that needs to be fired, so) and set to false through a timer in 0.2 seconds after it was set to true to avoid repetition.