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

Ksyoush

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

Ksyoush

Villager
Member
Joined
Jan 9, 2021
Messages
23
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
658
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,679
Reaction score
2,014
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
23
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,679
Reaction score
2,014
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
23
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
658
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
23
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
658
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 Posts

Latest Profile Posts

I haven't been on here in forever wow(missed my forum birthday T-T). Anyways, I'm dabbling in BGMs, here's something I'm actually willing to share.

Binge-watched 6 episodes of the Erased anime... And that means I've watched half of it?! Sigh...
I'm bad at base-building games (looking at other players created an aesthetically beautiful base compared to me), but IDK why I keep playing the game and seek more of it.
Pyra and Mythra in smash ultimate are way too OP. They're basically Smash 4 Bayonetta 2.0, and not in a good way. Very toxic and unfair. At least they're hot tho.

Forum statistics

Threads
109,197
Messages
1,042,970
Members
141,700
Latest member
skybola188
Top