/* Script generated by Lilac Soul's NWN Script Generator, v. 1.3 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnDeath void main() { object oPC = GetLastKiller(); if (!GetIsPC(oPC)) return; int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF)); if (DoOnce==TRUE) return; SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE); object oTarget; oTarget = GetObjectByTag("EarthExit2"); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }