re-spawn NPC's after re-entering a room

Need help with any SMBX game-related issues? Ask your questions here.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on-topic/appropriate?
-Are you posting in the right forum/following the forum rules?
Shy Guy
Shy Guy
Posts: 6
Joined: Tue Feb 06, 2018 2:56 pm
Chat Username: Cellinarac

re-spawn NPC's after re-entering a room

Postby Cellinarac » Tue Feb 06, 2018 2:59 pm

ok, back with another question. I have a crazy warp pipe level I am working on, so far it's 6 rooms each room has 6 pipes, each pipe warps you to a room (1-6). what I am trying to do here is set something up to where if you clear out the NPC's in a room, then end up back in that room, I want those NPC's to re-spawn as if the the level has just started if that makes sense. for example start game in room 1 and there are 6 enemies placed around, kill all 6, leave room to another room, go in a pipe that takes you back to room 1 and all the NPC's have returned. I tried using the generator but thats not working like I want. it just continues to generate them the entire time no matter what room I am in and when I get back to the first room there are way to many NPC's in there. any idea how this can be done?

Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 5 guests