Hey all! I have another question relating to chapters.
So I have a chapter idea in mind, and I want to make a character recruit by being talked to (either changing from Ally -> Player unit or Enemy -> Player unit)
How does one go about doing this? I assume you need to have it set up within the Script file with Exalt, but I'm not too certain on the specifics.
EDIT: So I figured it out! I'll post this as a mini tutorial for those flicking through this.
So open your chapter script in Exalt, and add this to the top of the file
event [6]() {
ev::FlagEntry("FLAGNAME");
}
What this does, afaik, is give the file a way to trigger the "You talked to me once, you can't keep doing it" part. FLAGNAME can be replaced with whatever is easiest for you. For my case, I used "シェパードの味方", since I like keeping things feeling official.
Then, sometime further down
event [23]("RECRUITER PID", -1, "RECRUITED PID", -1, 1, "FLAGNAME") {
ev::BGMStop(1000);
ev::CameraSetAngle(-40);
ev::CameraSetDistanceFromNear();
ev::Talk("DIALOGUE");
$0 = ev::UnitGetByPID("RECRUITED PID");
ev::UnitTransferByIndex($0, 0);
ev::FlagSet("FLAG");
ev::BGMStop(1000);
ev::CameraSetAngleFromConfig();
ev::CameraSetDistanceFromConfig();
ev::TimeWait(500);
Now here is where the spicy part comes in. RECRUITER PID is the PID of the character you need to control. For example, if the character is Elise, RECRUITER PID is "PID_エリーゼ". RECRUITED PID is the name of the character you are talking to to recruit. If you wanted to talk to, say, Benny to recruit him, replace RECRUITED PID with "PID_ブノワ". Keep the FLAGNAME with the same flag from the above box.
Finally, DIALOGUE is the name of the Dialogue it pulls from the Dialogue tab in the Chapter Editor in Paragon. So if the name of your conversation between them is called "MID_C014_TK1_1", replace DIALOGUE with "MID_C014_TK1_1".
take a wild guess where I figured this all out from, haha
I hope this helps anyone that was stuck where I was!