Change enemy battler graphic
RPG RPG Revolution Forums
Script Development and Support
Oct 24 2011, 06:56 PM
Is there a script to change the enemy battler graphic?
I tried enemy transform, but that requires more than just a new graphic. I just want to change the graphic.
It's a fixed battle so I know enemy's index in $game_troop.enemies
Oct 26 2011, 02:18 AM
By default you cannot change the enemy graphics by itself, even with scripts.
One of our talented eventers can correct me if there's a way to event this, but I know how to script it easily
You have two options here, either make a new script
or you can paste the code
In Game_Enemy, like so:
( Just below the class Game_Enemy line )
I've also added the comments above the code.
Oh well, choose wisely, you can do both if you really want....
That set up the script editor to give us access to the battler graphic.
The final step, go to the Troops tab of the database, make a condition for the graphic to change, and insert the code:
( Just a Script command ).
Where 1 means the 2nd enemy ( I believe you're familiar with how coding starts counting with 0? ), and 055-Snake01 is the name of the new graphic
And that did it for me
Oct 26 2011, 10:34 AM
That's interesting, I didn't think battler_name would have anything to do with the actual graphic.
Oct 26 2011, 06:28 PM
battler_name is the name of the battler's graphic. Just don't think about it too much
I'll just be
moving this over to Script Support
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
Invision Power Board © 2001-2013
Invision Power Services, Inc.