Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
13
_module/nss/lair_enter.nss
Normal file
13
_module/nss/lair_enter.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
string sTag;
|
||||
location lLoc;
|
||||
|
||||
if (GetLocalInt(OBJECT_SELF,"EN4DoOnce") == 0)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF,"EN4DoOnce",1);
|
||||
sTag = "en4_lair" + IntToString(Random(3)+1);
|
||||
lLoc = GetLocation(GetObjectByTag("WP_Lair"));
|
||||
CreateObject(OBJECT_TYPE_CREATURE,sTag,lLoc,FALSE,"LairSpawn");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user