Initial commit
Initial commit [v9.7]
This commit is contained in:
22
_module/nss/lve_cls_dr_tlr.nss
Normal file
22
_module/nss/lve_cls_dr_tlr.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user