Save-Point
KEnemySwitch VX - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: KEnemySwitch VX (/thread-10088.html)



KEnemySwitch VX - kyonides - 10-09-2024

KEnemySwitch VX

by Kyonides

Introduction

Have you as a game developer ever wanted to switch between different enemy troops during battle?
I mean, you would force the party to face 2 or more troops in a single battle like Witch Golem or The Tall Man Joker or even Catwoman Dark Elf !
The catch here would be that the player might not really know when that switch is supposed to happen at all. Laughing
Guess what? Now you can do that! Grinning

The Steps

Code:
# First you need to go set the values of 2 game variables, namely CHANCE_VAR_ID
# and TURNS_VAR_ID. The former stands for a percentage while the latter should
# always be an positive integer (1+).

# Then include additional Troops via Script Call:
# KEnemy.add_troops(TroopID1, etc.)

# Finally, setup your Battle Processing event command as usual!

Notes

Version 1.0.0

The final release that includes the possibility of setting a minimum number of troops you have to defeat to win the battle.

Version 0.11.0

This release allows you to define how many enemy troops should be defeated before battle ends, namely 1 or ALL of them! Laughing

Version 0.9.0

Once you defeat any of the available troops, the battle is over. Tongue sticking out
Happy with a sweat Give me some time to turn that into an optional feature.

Compatible with the Default Battle System.


Terms & Conditions

Free for use in non commercial games.
Due credit is mandatory!
Mention this forum in your game credits.
That's it! Tongue sticking out