Lankhmar_PRC8/_module/nss/opn_dstry_fsf_1.nss

18 lines
544 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
// Get the creature who triggered this event.
object oPC = GetLastOpenedBy();
// Only fire once.
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
return;
SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
// Destroy objects (not fully effective until this script ends).
DestroyObject(GetObjectByTag("Fissif_1"));
DestroyObject(GetObjectByTag("Fissif"));
DestroyObject(GetObjectByTag("Fissif1"));
DestroyObject(GetObjectByTag("Lankhguard70"));
}