Hello everyone!
I have been playing around with health bars and recently started using families. The family is called Mob_Family.
That family has two variables. (mob_health) and (mob_maxhealth)I am having trouble with damaging foes.
I have 4 statically placed mobs. Each mob has a different value for mob_health.
When I test play, All 4 mobs get a health bar above them but when I strike the first mob, all 4 mobs take damage and every health bar updates as a result. And the enemy with the lowest hp will be destroyed even if i don't hit him. I don't know what I can do to fix this issue. Any suggestions? Thanks
PS: I was hoping to avoid using containers