Initial commit
Initial commit [v9.7]
This commit is contained in:
29
_module/nss/cnv_dstry_inrx.nss
Normal file
29
_module/nss/cnv_dstry_inrx.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
object oTarget;
|
||||
effect eVFX;
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Unlock and open "nerkdr2".
|
||||
oTarget = GetObjectByTag("nerkdr2");
|
||||
SetLocked(oTarget, FALSE);
|
||||
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
||||
|
||||
// Destroy objects (not fully effective until this script ends).
|
||||
eVFX = EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1);
|
||||
oTarget = GetObjectByTag("Nerkaox");
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oTarget);
|
||||
DestroyObject(oTarget, 3.0);
|
||||
|
||||
oTarget = GetObjectByTag("Inrikox");
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oTarget);
|
||||
DestroyObject(oTarget, 3.0);
|
||||
|
||||
DelayCommand(3.1, DestroyObject(GetObjectByTag("Nerka22")));
|
||||
DelayCommand(3.1, DestroyObject(GetObjectByTag("Inrik2zx")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user