Is it possible to change the Actor Graphic and Battler INDEPENDENTLY?

Quimey

Veteran
Veteran
Joined
Jul 9, 2020
Messages
146
Reaction score
48
First Language
Spanish
Primarily Uses
RMMV
Hi, there!

I'm just wondering if there is a way of changing the Actor Graphic and Battler separately (Without affecting one another). Because the regular approach is to "Change Actor Images" through an event as seen below.
1680124899399.png

But what I'd like to do is to, again, change the Image in the "Character" OR the "SV Battler", without having to pick both. Is there any way of doing this via eventing or plugin?

Thanks in advance!
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
6,158
Reaction score
6,327
First Language
English
Primarily Uses
RMMZ
Hi, there!

I'm just wondering if there is a way of changing the Actor Graphic and Battler separately (Without affecting one another). Because the regular approach is to "Change Actor Images" through an event as seen below.
View attachment 257449

But what I'd like to do is to, again, change the Image in the "Character" OR the "SV Battler", without having to pick both. Is there any way of doing this via eventing or plugin?

Thanks in advance!
Yes, there is a way. I'm glad I could answer the question you asked. ;)
 

Quimey

Veteran
Veteran
Joined
Jul 9, 2020
Messages
146
Reaction score
48
First Language
Spanish
Primarily Uses
RMMV
Script command.

JavaScript:
[actor].setCharacterImage(filename, index);
[actor].setFaceImage(filename, index);
[actor].setBattlerImage(filename);
Genius!
Wow, that was super fast! Thanks a lot, Trihan. Blessings to you. :rwink:
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
8,933
Reaction score
6,754
First Language
English
Primarily Uses
RMMV
You could also, of course, use the event command and only choose a different image for the one you want to change.

But if you're doing some kind of variable system where one can change independently of the other and you don't necessarily know which it's going to be at the time, the script call is the best way.
 

Quimey

Veteran
Veteran
Joined
Jul 9, 2020
Messages
146
Reaction score
48
First Language
Spanish
Primarily Uses
RMMV
You could also, of course, use the event command and only choose a different image for the one you want to change.

But if you're doing some kind of variable system where one can change independently of the other and you don't necessarily know which it's going to be at the time, the script call is the best way.
Yay! That's exactly what I want to do, the second one. The script calls were a perfect solution.

Thanks!
 

Latest Threads

Latest Posts

Latest Profile Posts

Ok. I am seriously going to make efforts to stop double-posting because I got suspended for two days because of doing it too much. Lmao; am I the only one who got a suspension for this? Probably not, but I'd still like to know LOL.
I always hated when the an NPC disappears for the night they just blink out. Finally got around to making a fade out/in for any NPCs that leave/comeback for the night or day.
LmHbTL.png


Continuing our countdown with Capsule Monster #10 Curl Shot! A powerful ranged attacker, you're better off double teaming him with magic users to defeat!!
TSR
Taking a break from mapping, I've been working on the shop scene lately.Capture d’écran, le 2023-06-09 à 17.18.41.png


The project is going well, it's just I rarely share clips and stuff 'round here

Forum statistics

Threads
131,777
Messages
1,223,256
Members
173,547
Latest member
KamiPawa
Top