• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Event that Applies to Multiple Maps

  • 4
    Posts
    6
    Years
    • Seen Apr 15, 2020
    Hello, so I made this thing I call the dungeon where the player has 10 minutes to explore the place and its composed of multiple different rooms. When the timer hits 0:00, I want to call back the player to the entrance. Is there a way to make an event that will recall the player no matter which map he/she is in? Or do I have to add an event for every map in my dungeon?

    Thanks
     
    when you teleport the player to the dungeon map, use a Control variable, any of them, and assign a number to it according to the map they just came from. (Location 1 = 1, Location 2 =2, so on so forth.) on the event that has the timer set up a conditional branch that calls the variable you assigned and warp back to the map you just came from.

    it should look something like this
    [PokeCommunity.com] Event that Applies to Multiple Maps
     
    I'm having difficulty understanding. How would the "Time is up!" text show up if I'm not in the same room as the event? Sorry if this is a basic concept, I'm new to this ;-;

    Thanks
     
    could you try to replicate something like the bug catching contest?
    the safari zone and bug catching contest have global variables for the timer/step counters and automatically return you to the entrance even when you are on another map.

    if this does not work maybe a common event (tools/database/common events) could be running parallel when you activate something like a dungeon switch and runs a clock that deactivates when the timer ihas reached the amount you put in a variable first.

    i think what pokeminer20 explained was how to return specifically to the spot you entered from, but I am not sure if this is what you want.
    if so, you could create a return point similar like when entering a cave (check the example maps)
     
    Back
    Top