Sending information across Blueprints

So currently I’m creating a 2D game within Unreal that uses Pokemon style combat. I’ve created a connection between pressing the attack button and the Game Mode blueprint which has been successful and so I have created the basic turn based system I wanted.

What I’m looking to do now is to transfer the information of the player hitting(its only a chance to hit, this chance is worked out on the Game Mode blueprint) over to the AI blueprint so that I can correctly change the AI’s health.

http://puu.sh/kShaC/a7e26a747c.jpg – Image for reference, this is all in the Game Mode blueprint and what I want to happen is for the situation where the Int is >1(when the player hits) to set off a reaction in another blueprint. How would I go about doing this? Or is it better to keep everything on the Game Mode blueprint?

Considering it’s turn base, you need to keep information somewhere with who you fighting with. You need to spawn enemy right? When you use SpawnActor node it return object refrence, which you need to keep in varable for ferther talk with the object

So your saying I need to promote the return value of SpawnActor to a variable then how do I use that in collaboration with the code shown above?

Ok nevermind, got it working :slight_smile:

Thanks for the help!