HoS_PRC8/_mod/_module/nss/tr_ex_grubbins.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

11 lines
255 B
Plaintext

void main()
{
object oPC=GetExitingObject();
object oTrigger=OBJECT_SELF;
if (GetIsPC(oPC))
{ // is exiting PC
object oNPC=GetLocalObject(oTrigger,"oNPC");
if (GetIsObjectValid(oNPC)) DestroyObject(oNPC);
} // is exiting PC
}