YANFLY ENGINE ACE - CALL RANDOM BATTLE

RPG Maker VX Ace

Call random battles rather than set battles for events.

  • YF
  • 12/09/2011 02:43 AM
  • 1433 views


For users who like to use touch encounters, I’m sure you’ve encountered the difficulty of randomizing what kinds of encounters can come with each touch encounter. This script call will randomize what battle will be held based on what random encounters would occur on the map.

Script download

-----------------------------------------------------------------------



Use a script call to have an event start up a random battle based on where the player is standing or region.

call_random_battle

This call will generate a random battle based on the tile (and region) that the player is currently standing on. Any battles outside of the tile’s marked region will not be added to the random pool.

call_region_battle(x)
call_region_battle(x, x, x)

This call will generate a random battle based on the tile (and region) that is marked by x. Any battles that can occur within those x regions will be added to the random pool.

-----------------------------------------------------------------------

If I forget to update this script whenever there's an... update, just visit this blog page for the updated version.