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?