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

30 lines
831 B
Plaintext

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")));
}