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,948
Reaction score
2,221
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,948
Reaction score
2,221
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 Posts

Latest Profile Posts

too... many... ideas... can't... edit them down :dizzy:
Don't you love your work?
It's been half a month and I didn't give signs of life, not even in my website.

I've been studying about my project and I discovered something that I definitely think it will be better.

On the other hand, I still have to learn how to use it properly so I need time.
This catgirl name is Elyune.
Her hobby is cooking and eating sweets. She's also an alchemist.

Cat_girl.jpg
catgirl-1.jpg
Raptor Revolt Demo 4_10_2021 3_12_09 PM.png

Latest custom tileset work for RAPTOR REVOLT in this beach scene set in the acheroraptor capital in Ridge City, Hell Creek.

Forum statistics

Threads
110,286
Messages
1,051,977
Members
143,309
Latest member
Kiler123
Top