Keeping enemies dead when re-entering a room?
Alano
Member, PRO Posts: 70
Hey all,
So I have a top down shooter with multiple room and doors on each wall to enter and exit from. The rooms have enemies in them. How can I set it up so that when I re-enter a previous room the enemies are still dead and not reset?
Thanks in advance!
Alan
Comments
You'll need to store each enemy's status (dead or alive) in a table and then have each enemy actor check that status and destroy the actor if the status is "dead."
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks tatiang. New to GS so I'll have to read up on how to use tables.