Resetting Map Events

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
So I've got enemy encounters setup as events on the map, and I'm looking for a way to to setup an event that resets them. Does anyone know a good way to implement this? BTW, I don't want them to automatically reset every time the player switches maps.


Right now I'm thinking that I could have all of them use Self Switch D to indicate if the enemy has been defeated, and then find a way to reset SelfSwitch D for all events, but I don't know if there's a way to do that.
 

Aoi Ninami

Veteran
Veteran
Joined
Sep 22, 2015
Messages
413
Reaction score
513
First Language
English
Primarily Uses
RMVXA
I would give each encounter three event pages as follows:

Page 1 - Turn self switch D off.
Page 2 - Conditions are switch X being on. This is the page with the troop encounter. After the encounter, turn self switch D on.
Page 3 - Conditions are switch X being on and self switch D being on. No event commands.

Switch X should initially be on. To reset all encounters, turn it off for one turn, then on again.
 

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
I would give each encounter three event pages as follows:

Page 1 - Turn self switch D off.
Page 2 - Conditions are switch X being on. This is the page with the troop encounter. After the encounter, turn self switch D on.
Page 3 - Conditions are switch X being on and self switch D being on. No event commands.

Switch X should initially be on. To reset all encounters, turn it off for one turn, then on again.

OK, so I tested it out and there's a big problem: it only resets events in the current map.
 

Aoi Ninami

Veteran
Veteran
Joined
Sep 22, 2015
Messages
413
Reaction score
513
First Language
English
Primarily Uses
RMVXA
Hmm... if you want to reset multiple maps, this should work. Set up the encounter events as described above, but instead of switch X, have one switch per map. All switches start on, and the reset switch turns them all off. On the tile next to the reset switch, and the second tile of each map, turn back on the switch for that map only. That will give each encounter event time to respond to its map's switch being off and reset its own self switch.
 

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
that does work, though it looks a bit weird to have enemies reappear only after taking a step into the level... maybe it's better this way though...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Haired slime? Trying some different styles of art. Maybe I can make some resources with this new kind of painting.......
i love my game very much
Uh, I'm probably overthinking this, but I think that some of my music sounds kinda...bad?
The melodies are just sort of awkward, and don't flow.
I'm really not sure what to do. Why am I even worrying about this? I don't even have a battle system yet!
And the Lord said, let there be lighting effects! And there were lighting effects! And it was good...ish? Might tweak this some more.
Today was a day of good things! Thank you fate! I pray to the darkness that those that read this will enjoy a good day as well! Power to the gam mak.

Forum statistics

Threads
105,724
Messages
1,015,913
Members
137,402
Latest member
Lopilon
Top