I've been trying to write a Script that would show the correct Face Image based on the value of two variables inside a text message.
$gameMessage.setFaceImage('1_1_F_Body0_Faces_Edited',$gameVariables.value(104));
$gameMessage.setBackground(0);
$gameMessage.setPositionType(2);
$gameMessage.add("Choose your Discipline.\n\nPress the Escape Key to view second page");
Is there a way I can change the file name '1_1_F_Body0_Faces_Edited' based on the value of a variable? Ideally something like this:
Control Variables : #0103 A.1_Face_Name = "1_1_M_Body0_Faces_Edited"
Script : $gameMessage.setFaceImage('$gameVariables.value(103)',$gameVariables.value(104));
Another problem I encountered is when I follow the scripted text with a Show Choices Event Command the text vanishes before the choices show up. So I would have to figure out a way to prevent that from happening as well to make this work.
$gameMessage.setFaceImage('1_1_F_Body0_Faces_Edited',$gameVariables.value(104));
$gameMessage.setBackground(0);
$gameMessage.setPositionType(2);
$gameMessage.add("Choose your Discipline.\n\nPress the Escape Key to view second page");
Is there a way I can change the file name '1_1_F_Body0_Faces_Edited' based on the value of a variable? Ideally something like this:
Control Variables : #0103 A.1_Face_Name = "1_1_M_Body0_Faces_Edited"
Script : $gameMessage.setFaceImage('$gameVariables.value(103)',$gameVariables.value(104));
Another problem I encountered is when I follow the scripted text with a Show Choices Event Command the text vanishes before the choices show up. So I would have to figure out a way to prevent that from happening as well to make this work.