I have a player made character in the game.
The Player selects what they want to look like and then selects their robot.
It all works fine, however Change Actor Graphic. Changes the face of the actor and the robot.
Is their I way I can only change the Graphic and face, but not them both at the same time?
I really don't want to have many. many lines of coding checking what the face looks like, and then change the robot with the face.
And do that then do that 18 times. And if I wish to change something, I going to have to change like 18 lines of code.
Can you elaborate a bit more im not understanding How would changing one actor change another ?
Event Commands > Page 3 > System Configuration > Change Actor Graphic
Click the event let's you select the actor. Which will be the player, and then the Graphics.
The thing you see on the map and it's actor face.
In Game the player selects their face and then their robot. Change Actor Graphic changes both the face and the Graphic, I only want one.
Edit: I add some Pictures
[IMG]http://s16.postimg.org/oynlkxzxh/Screenshot_1436497813_742042.png[/IMG]
Selecting Character..
[IMG]http://s2.postimg.org/xwy3tfk95/Screenshot_1436497819_440368.png[/IMG]
Change Actor Graphic, changes the Actor to the Picture.
[IMG]http://s16.postimg.org/ouydifjtx/Screenshot_1436497875_290563.png[/IMG]
Now Select Unit, and Change Actor Graphic changes the Sprite.
[IMG]http://s29.postimg.org/mdrbctahj/Screenshot_1436497930_370713.png[/IMG]
The Problem is it also changes the actor face.
I want to be able to change the Graphic and face, but not at the same time.
Use a set move route command, apply it to the player, and change the sprite graphic that way. That one only changes the sprite, not the face graphic.
Every actor can have only one sprite and one face. That is a fact that you can't change.
If you want the actor to represent more than one "object", then that other object has to remain invisible - or you can change the grafic to the other variant at time where you need it and change it back afterwards.
But you cannot assign two different sprites to one actor.
Perhaps an alternative would be to make the robot another actor and change that actor at need? Or put it in the party as second actor but shut off followers so that it isn't visible on map?
So there isn't a easy way to do it. Great, now I have to do it the long and hard way,
give every face a variable, since there are 104 possible faces. And then for each Robot change according to the variable and do that once for each robot that's 18 times.
104 * 18 = 1872 lines of code, that is pretty much do the same thing.
Well it works now, and does what I want it to do. Suck's there isn't an easier way to change the graphic.
Thank's for everyone's suggestions
Do a script call like this:
this_actor = $game_actors[1]sprite_name = "Actor2"sprite_index = 3head_name = this_actor.face_namehead_index = this_actor.face_indexthis_actor.set_graphic(sprite_name, sprite_index, head_name, head_index)$game_player.refreshChange the values in the first three lines as needed. Remember that "Index" on most Character sheets is 0 through 7.