Download

Referencing variables from blueprint to blueprint in EU4

So I have two blueprints, one being the character and one being the enemy.

I have a boolean in the character blueprint that is set to true when the enemy is hit.

In the enemy class, how would I go about setting/playing the damaged flipbook, putting the idle flipbook back, and then setting the boolean back to false?

If you need any context or extra information, please let me know, I am happy to share anything.

My friend and I have been scratching our heads over this one for a bit too long now so any help is highly appreciated.

:slight_smile:

What are you using to detect whether you’ve hit the enemy? That should ideally be what calls the custom function/event in the enemy class which would allow you to play a montage or whatever it is you’d like to do to represent a successful hit.