Initial commit
Initial commit [v9.7]
This commit is contained in:
25
_module/nss/ent_cnv_lnkhmng1.nss
Normal file
25
_module/nss/ent_cnv_lnkhmng1.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
object oSelf = OBJECT_SELF;
|
||||
object oTarget;
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
// Cutscene functions:
|
||||
SetCutsceneMode(oPC, TRUE);
|
||||
|
||||
// Cutscene functions:
|
||||
DelayCommand(1.5, SetCutsceneMode(oPC, FALSE));
|
||||
|
||||
oTarget = GetObjectByTag("lnkhmrnghts1");
|
||||
|
||||
DelayCommand(2.0, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
|
||||
|
||||
// Destroy an object (not fully effective until this script ends).
|
||||
DelayCommand(2.5, DestroyObject(oSelf));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user