Hello. I was creating an event that would set three events to use your party members' images:
And this part worked. What does not work, however, is how the "characters" look:
Basically they're always stuck in their "taking a step" position, no matter the rotation. Is there a way to make them "stand straight"?
EDIT: Aight, found a solution:
"_originalPattern" determines which column in the event's character sheet to set it back after he completed a movement.
In this case it was set to zero, meaning that, whenever it would stop moving, the event would use the column on the left as its sprite. Changing "_originalPattern" to 1, instead, would make it use the column in the middle.
for(var i = 1; i < $gameParty.members().length; i++)
{
var classe = $dataClasses[$gameParty.members()[i]._classId].name;
var gender = $gameParty.members()[i]._gender || 0;
$gameMap.event(i+1).setImage(classe, gender);
$gameMap.event(i+1).turnTowardPlayer();
console.log($gameMap.event(i+1));
}
And this part worked. What does not work, however, is how the "characters" look:
Basically they're always stuck in their "taking a step" position, no matter the rotation. Is there a way to make them "stand straight"?
EDIT: Aight, found a solution:
for(var i = 1; i < $gameParty.members().length; i++)
{
var classe = $dataClasses[$gameParty.members()[i]._classId].name;
var gender = $gameParty.members()[i]._gender || 0;
$gameMap.event(i+1).setImage(classe, gender);
$gameMap.event(i+1).turnTowardPlayer();
$gameMap.event(i+1)._originalPattern = 1;
}
"_originalPattern" determines which column in the event's character sheet to set it back after he completed a movement.
In this case it was set to zero, meaning that, whenever it would stop moving, the event would use the column on the left as its sprite. Changing "_originalPattern" to 1, instead, would make it use the column in the middle.