Lankhmar_PRC8/_module/nss/cnv_jmp_nrkaox.nss

26 lines
574 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oActor;
object oTarget;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Cutscene functions:
BlackScreen(oPC);
// Unlock and open "nerkdr1".
oTarget = GetObjectByTag("nerkdr1");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
// Have "Nerkaox" perform a sequence of actions.
oActor = GetObjectByTag("Nerkaox");
AssignCommand(oActor, ActionJumpToObject(GetObjectByTag("WP_JP_Nerkaox")));
// Cutscene functions:
FadeFromBlack(oPC);
}