Amon_PRC8/_module/nss/sejtmorph.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

16 lines
347 B
Plaintext

void main()
{
int nIncrement = GetLocalInt(OBJECT_SELF, "DeleteTimer");
int nTimeSet = nIncrement + 1;
SetLocalInt(OBJECT_SELF, "DeleteTimer", nTimeSet);
if (GetLocalInt(OBJECT_SELF, "DeleteTimer") >= 20)
{
DestroyObject(OBJECT_SELF);
}
SetLocalInt(OBJECT_SELF,"killedself",TRUE);
SetLocalInt(GetModule(), "SejtSpawn", TRUE);
}