EN4_PRC8/_module/nss/lair0_enter.nss
Jaysyn904 b464d8da05 Initial Commit
Initial Commit [v1.32PRC8]
2025-04-03 13:38:45 -04:00

14 lines
320 B
Plaintext

void main()
{
string sTag;
location lLoc;
if (GetLocalInt(OBJECT_SELF,"EN4DoOnce") == 0)
{
SetLocalInt(OBJECT_SELF,"EN4DoOnce",1);
sTag = "en4_lair0_" + IntToString(Random(2)+1);
lLoc = GetLocation(GetObjectByTag("SS_Lair"));
CreateObject(OBJECT_TYPE_CREATURE,sTag,lLoc,FALSE,"Lair0Spawn");
}
}