Im doing a mini rpg.But the script has a error.I want to do when the enemy has 1 or more health continue atacking and when has 0 or less go to the win screen.But when i atack him even if he has more life i go to the win screen.Who can help me?
here try this in your code to reduce his livesif (opponent.lives < 0){ _root.gotoAndstop("win screen"} //end iformake it so afterif (opponent.lives < 0){ you make the win screen appear on the same frame
wow, so complicated!
Thread is locked!