Map Selection

Discussion in 'JS Plugin Releases (RMMV)' started by Mr. Trivel, Mar 29, 2016.

  1. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian
    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:


    [​IMG]


     


    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 three 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.
     
    Last edited by a moderator: Mar 30, 2016
    #1
    Jojozaamaak, jmike, Pai and 11 others like this.
  2. Moe_Lester13

    Moe_Lester13 Veteran Veteran

    Messages:
    72
    Likes Received:
    11
    Location:
    New Zealand
    First Language:
    English
    This is EXACTLY what I was after!! This looks awesome, and I can't wait to try it out.


    Question though, instead of transporting to maps, is it possible to run other events such as battle processing etc? If not, would it be possible to add this?


    Keep up the awesome work :D
     
    #2
  3. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian
    @Moe_Lester13,


    Now you can execute CEs.


    Version 1.1


     - Common Event execution on list selection added.
     
    #3
    Radis3D and Moe_Lester13 like this.
  4. Eurritimia

    Eurritimia Villager Member

    Messages:
    22
    Likes Received:
    20
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Is there any way to show an option as disabled and enable it with a switch or a variable?
     
    #4

Share This Page