Hi guys,
I’m pretty new to Unreal and need some help making this combat system work using blueprints. I am using a top down template and currently have a full working inventory, hp system, enemy AI, enemy health, and a way to trace and check if I have hit my enemy AI character (and do some damage with each click from as far as I can see them).
What I want to create now is so that if the trace against the AI is true using left click (or right click, doesn’t matter to me) to have my character follow the AI character and then engage him in combat (kind of like runescape if you remember that) until someone dies. The value combat can be random numbers based on an attack power for each character.
I’ve tried using the thinking process of using a variable called “incombat is true” if trace hits actor AI, and then labeling that, but haven’t been able to come up with anything that starts the combat. Any help is appreciated please! Thank you.