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
645
Reaction score
278
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,642
Reaction score
1,994
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,642
Reaction score
1,994
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
645
Reaction score
278
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
645
Reaction score
278
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

Does anyone know of NPC sprites for RMMZ? I know of Flirion's RMMV recolours, but RMMZ's sprites are slimmer and more detailed, so I'm a bit on the edge to use Flirion's im RMMZ...
I can't believe that after all those years, KH Union X Dark Road is closing the services.

Due to a situation in which I thought plugin adaptations had stopped for the QPlugins, I "ghetto" converted these 7 over yesterday. They appear to work perfectly as long as you use old style plugin commands. I am uncertain if I will have a lot of free time in the future to work on this, but if you'd like them, here they are.
Was there a thread that you could share a screenshot of your game? I feel like I found it once but can't locate it again.

I was being lazy and just copied a map to test a new parallax, but I forgot to delete all the events. This was the result. :o

Forum statistics

Threads
108,819
Messages
1,039,789
Members
141,277
Latest member
FeatherStone
Top