Amon_PRC8/_module/nss/sejtmorph.nss

16 lines
347 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
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);
}