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
655
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,674
Reaction score
2,012
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,674
Reaction score
2,012
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
655
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
655
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

"Today I will totally open up RPG Maker and work on my game. I have lots of ideas!"

End of day spoiler: It didn't happen.
years later and I still couldn't get over the fact that Konami killed P.T. and Silent Hills. Oh so much potential for a new modern classic horror.
Finished reworking the design of my Itch.io page <3 Back to making plugins.
I kind of want make a map that's just giant version of the player that's they're running around on. Either by stringing together multiple maps or just by shrinking the player sprite for those maps. Actually that might make a fun reveal... The player's on a normal looking map, but then as realization dawns on them it zooms out to show a much larger map that's a giant version of the player. :LZSexcite:
Do you like to practice level design? I do hahahaha! It's not from a specific game, it's just some tests...Fase 1.png

Forum statistics

Threads
109,132
Messages
1,042,423
Members
141,631
Latest member
Isens
Top