How to make an event end permanently when you exit the map?

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
25
Reaction score
0
First Language
English
Primarily Uses
RMMV
Not sure if it was asked before
 

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
25
Reaction score
0
First Language
English
Primarily Uses
RMMV
It doesn't work,it ends while being in the map
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
661
Reaction score
283
First Language
english
Primarily Uses
RMMV
can you post screenshot of the event?
just guessing the map transfer event and the event you want to stop are 2 different events?

you'll probably need the map transfer event to have a conditional branch determine if should turn on a normal switch which changes the page of the event you want to stop permanently.
(plugins/script can have event B change a self switch on event A instead of using a normal switch)
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,950
Reaction score
2,222
First Language
English
Primarily Uses
RMMV
What Tiamat said. Make a second blank page for your event triggered by self switch A, then in your map transfer event, do a "script" command with

$gameSelfSwitches.setValue([ID of map, ID of event you want to turn off, "A"], true);
 

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
25
Reaction score
0
First Language
English
Primarily Uses
RMMV
Thanks!it worked. But now i have a different problem,I have a second event page who needs to always appear,but it stopped because of the switch.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,950
Reaction score
2,222
First Language
English
Primarily Uses
RMMV
If you have a second page that needs to always appear, wouldn't that mean you don't need to make the event end permanently? What exactly are you trying to do?
 

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
25
Reaction score
0
First Language
English
Primarily Uses
RMMV
If you have a second page that needs to always appear, wouldn't that mean you don't need to make the event end permanently? What exactly are you trying to do?
I'm trying to create an event who disappears once you leave the map,and when you enter the map again,the event will be different and also repeating itself. maybe adding a new event instead of a page will work for it,but I dont know if its possible to make it trigger by action button in the place where the disappearing event was.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
661
Reaction score
283
First Language
english
Primarily Uses
RMMV
ya im also getting confused. screenshots please. alt + print screen >>> paste in paint or something to save the screenshot.

so it was already a 2 page event? where the the switch condition go?
why isnt the switch linked to this "event will be different"?
and event triggers will often F up when 2 events occupy the same tile
 

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
25
Reaction score
0
First Language
English
Primarily Uses
RMMV
ya im also getting confused. screenshots please. alt + print screen >>> paste in paint or something to save the screenshot.

so it was already a 2 page event? where the the switch condition go?
why isnt the switch linked to this "event will be different"?
and event triggers will often F up when 2 events occupy the same tile
 

Attachments

  • Снимок экрана (46).png
    Снимок экрана (46).png
    518.4 KB · Views: 6
  • Снимок экрана (47).png
    Снимок экрана (47).png
    439 KB · Views: 6
  • Снимок экрана (48).png
    Снимок экрана (48).png
    416.1 KB · Views: 5
Last edited:

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
661
Reaction score
283
First Language
english
Primarily Uses
RMMV
page 1 and 2 both have no conditions.
meaning page 1 is never active because page 2's conditions all pass.
im guessing page 1 is the "event will be different" you talked about?

the highest number page that can meet all page conditions will always be the 1 active
 

Latest Threads

Latest Profile Posts

The next JABS update will include ally AI and an aggro system.

Question:
What would YOU expect to happen if you had four+ party members in an ABS, all fighting either together or separately or a mix of the two, and the player hits "swap leader" button?
It currently pulls all followers to the player's location, removes all aggro towards enemies, and swaps them.
Time to wear a new face again...

Should keep things interesting huh? @EpicFILE :p
unknown.png

Been feeling that my characters spent too much time exploring caves, so I figured it was time to explore abandoned keeps instead.
Did you had some minor hitches with RMMZ? Come report to my topic where I did the same! [Just another rant from a RM veteran + Suggestions and Solutions] All opinions are welcome!

Forum statistics

Threads
110,329
Messages
1,052,387
Members
143,369
Latest member
artturia
Top