Changing Actor Battler During Battle (Galv's Animated Battlers)

Desperado

Villager
Member
Joined
Jul 30, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Hey Everyone,

I was wondering if anyone could help me brainstorm a way to change the actor battler during a battle using Galv's Animated Battlers? I initially thought that I could change the battler in battle because Galv included a script call in the script itself:

change_battler(id,"filename")

But after some further testing and research it doesn't seem like it actually can be used in battle. It must be intended for changes outside of it.

I'm wondering if there are any other scripts or clever ideas you guys might have about how to accomplish this? It feels like there might be an easy way I'm not seeing.
As always, I really appreciate the help of the folks around here.

Thanks
 

Desperado

Villager
Member
Joined
Jul 30, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Ok, this is for future generations:

The reason I thought this didn't work was because I was getting the error:

Script "Game Interpreter" line 1411: NameError occured.

undefined local variable or method "battler_sheet" for #<Game_Interpreter:0xef9f8f4>


No matter how I tried it, using my battler sheets it wouldn't work. With help from a kindly stranger I figured out that using Galv's demo, I was able to change the battler in battle. Proving that it could be done.

So, with that knowledge, I noticed that the battler names in the demo were much simpler than the ones I was using in my project and, on a hunch (based on the above "NameError"), I changed my long complicated battler sheet names into short/simple battler names. I got rid of all capital letters and removed all symbols including underscores.

After that, I was able to create a common event to run the script call that triggered off a skill in battle and I'm happy to report that it works perfectly.
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,587
Latest member
Usagiis
Top