How do I make a button damage enemy AI?
How do I make a button that is on the User Interface deal damage to the enemy AI when it is pressed?
asked Aug 09 '17 at 11:55 PM in Blueprint Scripting
You would need a reference to the specific enemy you are trying to damage, a variable within that enemy to represent it’s health and when you press the button on the user interface it would have to take that reference get the enemy’s health and subtract whatever the damage amount is then set the health variable to the new value.
answered Mar 30 '18 at 02:15 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here