Save-Point
KEnemySwitch XP - 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 XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: KEnemySwitch XP (/thread-9613.html)



KEnemySwitch XP - kyonides - 09-25-2024

KEnemySwitch XP

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 on 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