I hope i explained well and someone can help me

TheRising0 wrote:Hello i'm new on this forum and i've been using Construct 2 for a month. I want to know how to make an "enemy damage health text that resets every time i kill one". I explain better, i created a global value that every time i shoot an enemy by gun, the text score decreases his value by one and it resets when the health's enemy gets the 0 value. The problem is, when i shoot an enemy without killing it, the text doesn't reset and when i try to shoot a new enemy the value continues decreasing..
I hope i explained well and someone can help me
Bullet on collision with Enemy ->
Enemy.health = Enemy.health - 1
Text.text = Enemy.health
Return to Beginner's Questions
Who is online |
Users browsing this forum: saour and 1 guest |