Lankhmar_PRC8/_module/nss/lve_cls_dr_tlr.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

23 lines
514 B
Plaintext

void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
object oTarget;
// Close and lock "exitdozr1x".
oTarget = GetObjectByTag("exitdozr1x");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
// Cutscene functions:
DelayCommand(1.5, SetCutsceneMode(oPC, FALSE));
// Destroy an object (not fully effective until this script ends).
DelayCommand(2.0, DestroyObject(oSelf));
}