Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

 
Reply to this topicStart new topic
> Change Character Graphic in Menu
Lydyn
post Apr 3 2012, 09:44 PM
Post #1


Level 8
Group Icon

Group: Revolutionary
Posts: 113
Type: Developer
RM Skill: Intermediate




Hello,

I have a simple request. All I want is to be able to change the character graphic in my menu (Menu System Here) when I use the event command to change the character graphic on the map. Is this possible?
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Apr 4 2012, 05:44 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




The player on the map isn't the same as the first actor in your party.
So when you use Set Move Route and change the graphic of the player you don't actually change the graphic of the 1st actor, merely the graphic of the player on the map (this can be seen in your CMS, and in the default menu system).

If you want to change the graphic of the 1st actor use the 'Change Actor Graphic' command on page 3 of the evented commands, and that will update your CMS.

If you want to get the graphic of the player on the map you get access it from $game_player.character_name and $game_player.character_index


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
Lydyn
post Apr 4 2012, 02:58 PM
Post #3


Level 8
Group Icon

Group: Revolutionary
Posts: 113
Type: Developer
RM Skill: Intermediate




QUOTE (Night_Runner @ Apr 4 2012, 07:44 AM) *
The player on the map isn't the same as the first actor in your party.
So when you use Set Move Route and change the graphic of the player you don't actually change the graphic of the 1st actor, merely the graphic of the player on the map (this can be seen in your CMS, and in the default menu system).

If you want to change the graphic of the 1st actor use the 'Change Actor Graphic' command on page 3 of the evented commands, and that will update your CMS.

If you want to get the graphic of the player on the map you get access it from $game_player.character_name and $game_player.character_index


Oh, haha. I was playing with the command, but clicked the portrait first, so I thought it was just for the portrait - not the character graphic too. I do admit I did this late last night though, so that didn't help. Thanks.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 05:09 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker