Can't set Health of Bot?
OK so hears the thing I've made a gun that shoots ray traces, I'm trying to make the ray trace deal damage to a bot that I created. So hears the problem, I'm able to deal damage to the bot and I know the bot is receiving the damage, but when the bot receives the damage depending on if I plug the health variable into a or b pin of the float subtraction node the bot either dies instantly or in two hits ( no matter what the damage is set to ). Does anyone know whats causing this issue?
asked Dec 06 '18 at 10:48 PM in Blueprint Scripting
The subtract node is correct, you need to subtract damage from health. But then you should check if the health is less or equals zero, like that:
answered Dec 08 '18 at 11:50 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here