Enemy health
belcs
Member Posts: 6
I am looking for help with my project. I am making a shoot em up game where the main actor is at the bottom scrolling side to side, and the enemies scroll from left to right at the top. How do I make enemies have health where when they are destroyed the new enemies that spawn reload their attributes and not destroy themselves automatically because the read 0 health.
Comments
You use the change attribute behaviour. After your enemy is destroyed and when you are spawning another enemy, use the change attribute behaviour to set the attribute back to its original/starting number.
cheers
- destroy actor
- spawn explosion
- add player points
- drop power up
Where would I put the reset enemy health back to 100%?
cheers
For more, see the tutorial link in my signature. I have a full YouTube playlist that shows how to make a shooter.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User