Change map properties via an event?

● ARCHIVED · READ-ONLY
Started by nasgath 3 posts View original ↗
  1. Greetings, first, I just want to say, what an awesome software this is.

    Moving on. So I have 2 areas (connected) with an "auto-change BGM" option in the map properties, they have their own BG music. But after a certain scene in one of the areas, I want to change the music on both of them so the music will loop continuously when going between these 2 areas. I could do it easily if I could just change the map properties via an event but that seems impossible in RPG Maker VX Ace.

    Thanks in advance.

    Edit: Also, as a second question, is it also possible to remove random encounters from an area after a certain event/scene? Again, I can't change any map properties via an event.
  2. To remove random encounters:  

    At the end of the event which is to be the trigger for removing them, use the command 'Change Encounter' on the third tab of the event command menu, select 'Disable'.

    Note, this will be for all random encounters on all maps.  If you just want it to be for the map where the event takes place, then in your transfer out event, select Change Encounter and this time select 'Enable'.

    As for your music, instead of using the Map Properties to establish the music, use an event with parallel process:  The commands would be

    Play BGM (title)

    Erase event

    That 'erase event' is to stop the parallel process running on continuously.

    When it comes to the time that you want the music to change, just use the ordinary event command Play BGM.  What isn't clear from your description is whether this is the music that is playing on the other map.  Normally when you set the music, it will continue without interruption when you change maps, and will carry on until you do another Play BGM command.
  3. I think I understand what you're saying. I'm going to give it a try and let you know.

    Edit: Alright, I didn't quite fix it, but I made some changes and it's working. Even though you can bug the area so it would be musicless for a short while. But that's ok.

    Thanks for you help.