Health bar help please
kajuto
Member Posts: 314
Hi there.! Thanks advance... I already have a health bar and everytime it touch a enemy the character -2 health bar for example how can I add +2 when collected from another actor instead? Please.. Help
Comments
add tag: Enemy
add tag: Friend
click (All) in tagPane
drag the enemy to the Enemy tag
drag the friend to the Friend tag
on your actor:
1. Rule: when
Event: overlaps or collides with actor tag Enemy
--changeAttribute: healthBar To: healthBar-2
2. Rule: when
Event: overlaps or collides with actor tag Friend
--changeAttribute: healthBar To: healthBar+2
@};- MH