Question by
Sideswiper22 · Nov 14, 2017 at 08:15 AM ·
damageexplosionweapon systemhealth-deductionhealth
Apply Damage Universally
Is there a way to add damage to objects with health universally? Let's say a grenade or bomb explodes and it damages a vehicle, an enemy and the player. The characters will have different scripts based on their class with the health variable on each. What can I do besides adding another script that handles the health of the actors?
Comment
Your answer
Follow this Question
Related Questions
Health bar help 1 Answer
OverslapSphere dont detect enemyhealth 0 Answers
Kill Count and Health Bar Scripts 0 Answers
2d explosion damage 1 Answer
NullReferenceException: Object reference not set to an instance of an object 0 Answers