Status
Not open for further replies.

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
248
Reaction score
112
First Language
spanish
Primarily Uses
N/A
I want to change the graphic of the player for a scene and then make it go back to its original sprite.

The player can change the party formation, so the original sprite could be any of the heroes.

I think the only way to do this is using scripts, getting the leader sprite, but I can't figure it out...
 
Last edited:

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
248
Reaction score
112
First Language
spanish
Primarily Uses
N/A
I did it!

I going to leave the script here, maybe it helps someone!:
Code:
$gamePlayer._characterName=$gameParty.leader()._characterName;
$gamePlayer._characterIndex =$gameParty.leader()._characterIndex;
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,006
First Language
Tagalog
Primarily Uses
RMVXA
Another way is to have a blank event somewhere in that map, fade out, make your character be transparent using the event command Transparency ON, transfer the blank event if needed, change its graphic to the one you need, fade in.. You will now control this event as the"player" for the rest of the cutscene. After the cutscene, fade out, erase the event or blank out its graphic again, set Transparency to Off, and fade in
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,155
Reaction score
8,939
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

I'm so annoyed with myself...I can't get this code to work so it looks like I'm going the plugin route for a problem I should be able to do myself :kaolivid:Great. Now I get to murder save file compatibility. Again.
Can't believe my code from four years ago is still working! Did some expansions, and...
1635194553179.png
In related news, I may have an update for my old Extra status window plugin ready. That is, once I manage to sit down and update the documentation... and the demo project... :kaoswt:
How does one pronounce Godot? I've heard it pronounced a couple of different ways, and I genuinely don't know the proper way.
March 2020 ...
1635188823939.jpeg
... vs October 2021

Forum statistics

Threads
116,077
Messages
1,095,557
Members
151,447
Latest member
PamuRachii
Top