Map Selection

Name: Map Selection
Version: 1.1
Author: Mr. Trivel
Created: 2016-03-28

What does it do?
Allows to travel to different maps from a single scene.

Gif:

How to use?
Plugin Commands:
MapSelection Start – Enters Map Selection Scene
MapSelection Add [ID] – Adds selection to the menu
MapSelection Remove [ID] – Removes selection from the menu

Examples:
MapSelection Start
MapSelection Add 4
MapSelection Remove 5

Map List Structure:
mapList in an array of objects.
Each object start with { and ends with }
Each object has ID and Name properties.
{
   ID: 1,
   Name: “Some Name”
}
ID is used for plugin commands listed above.
Name is what will be seen on the command window ingame.

Now, the object may have one of two groups of other properties.
Group 1 – Sublist properties:
Sublist: [],
Background: “BackgroundName”

Group 2 – Map teleport properties:
MapID: 3,
X: 5,
Y: 20

Group 3 – Execute common event properties:
CE_ID: 2

So if Object is Group 1 type, when you click on it, you’ll get it’s list, meanwhile if Object is Group 2 type, when you click on it, you’ll be teleported to it’s map, if Object is Group 3 type, when you click on it, you’ll get Common Event executed defined by CE_ID.


To edit the map list, open up this plugin in your favorite text editor and
scroll down to “EDIT MAP LIST HERE”. Make sure to check the example there, too.

Plugin: <GitHub>
How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

7 thoughts on “Map Selection

  1. Greetings,

    is there any way to make this so it is randomly selected?

    ie
    player chooses to teleport and a random map is selected ,with out the player seeing the possible destinations?

    Like

    • Hey,

      Do you mean e.g. selecting a Forest choice from a list, and it teleports to a random Forest map? If so, you can execute common event and have it teleport to a random map.

      Like

      • That is similar t o what i mean , but the player wouldn’t be selecting anything other than yes or no.
        basically what i am trying to do, and i hope your plugin can let me do it since it s the closest i have found, is missions so player takes a mission to go to point a and do x thing..well point a has a possible 5 maps , i want when they say yes they are ready, for it to randomly pick one of the 5 possible maps, with out the player seeing the possible map selections.

        the numbers used are just for an example, i am still working on certain parts of the numbers.

        Like

      • But, if you don’t need a list of maps, only Yes/No choice. How come do you want to use this plugin for that? Or do you mean to use this plugin as mission list and when player chooses a mission teleport to random map? If it’s the latter, you can execute common event like it’s written in plugin instructions.

        Like

  2. Maybe i can explain it better :
    mission a will have a possible of 5 maps , each different with different things ect ect
    mission b will have a possible of 8 maps , everything different on each of them.
    so forth and so forth.

    when the player gets the mission , i want him/her to be able to click a yes option top be ready to go and then for it to teleport to a random map option for that mission. that way a player can do mission a more than once and its rng on if they get the same map or not.

    I was looking at this plugin becasue it has lists of maps.
    I do apologize if what i am asking isnt what this plugin is meant to do.
    I am just trying to understand if it could work for what i want it to do.

    Like

    • But how does the player get the mission? Is it an item? Or is it just an event? If it’s an item you can make the item execute a common event which asks player if player wants to go do the mission and sends player to a different map – plugin isn’t needed. Same with event.

      Liked by 1 person

Leave a comment