I have a map on my story that I want to have random battles on but only after a specific event happens. Is there a way to make it trigger with switches or something, or do I have to replicate the map and set MAP A with no random battles and MAP B with Random battles?
How to trigger Random Battles on a Map
RPG Maker VXAce SupportIn the event panel, there's a thing where you can turn random battles off at the press of a button. Just turn this off at the start, then turn it on again later.
I've been slowly working on a script that allows you to do this (and other tricks) with switches and variables. Here is the link to the current version (version 0.4): http://forums.rpgmakerweb.com/index.php?/topic/33348-random-encounter-control-version-04-updated-120914/
Just add the notetag <Encounter Switch: 205> to the map you want to be on (replace 205 with whatever switch you want to use, I just used 205 in my game) and turn it ON at game start. Turn it back OFF when you want battles to occur. This way you can also set it up so that some maps have random battles at specific plot points by turning on and off the switches, just as long as you use the notetag on each map affected.
Or, you can use the solution posted above me too. I just prefer the switches as that way I can turn it on and off for individual maps as needed. Admittedly, their solution is simpler too if you are just starting out and don't want more advanced control.
Just make sure to turn on switch 120 at game start if you do use my script. That one is important (until I can edit it more anyways).
Just add the notetag <Encounter Switch: 205> to the map you want to be on (replace 205 with whatever switch you want to use, I just used 205 in my game) and turn it ON at game start. Turn it back OFF when you want battles to occur. This way you can also set it up so that some maps have random battles at specific plot points by turning on and off the switches, just as long as you use the notetag on each map affected.
Or, you can use the solution posted above me too. I just prefer the switches as that way I can turn it on and off for individual maps as needed. Admittedly, their solution is simpler too if you are just starting out and don't want more advanced control.
Just make sure to turn on switch 120 at game start if you do use my script. That one is important (until I can edit it more anyways).
Sorry I can't find this event panel, I think you meant the Event(F6)? but i can't find the button you talk about
I suggest you follow the link in my signature and work through the tutorials there, because it looks like you're very new to the game if you don't know how to create an event (the most important part of any map).
As a short answer. in event mode (which you activate by F6) a doubleclick on the map creates an event at that position and opens the event window where you can enter commands to be executed. One of those commands is the command to activate or deactivate random encounters.
I know how to create an event Im just trying to search for that specific button which you helped me find thanks
Change encounter - System Settings - 3rd Tab 🙂
When you get the command window to select the commands, it's on the third tab middle left "change encounter"
Yeah I found it before i posted my third reply thanks again. Sorry i just got confused with panel I'd call it more of a Event Window xD that's just me though this topic can be closed now 🙂 hahaha
Original thread: https://forums.rpgmakerweb.com/threads/how-to-trigger-random-battles-on-a-map.35621/