14 lines
321 B
Plaintext
14 lines
321 B
Plaintext
|
void main()
|
||
|
{
|
||
|
string sTag;
|
||
|
location lLoc;
|
||
|
|
||
|
if (GetLocalInt(OBJECT_SELF,"EN4DoOnce") == 0)
|
||
|
{
|
||
|
SetLocalInt(OBJECT_SELF,"EN4DoOnce",1);
|
||
|
sTag = "en4_lair2_" + IntToString(Random(2)+1);
|
||
|
lLoc = GetLocation(GetObjectByTag("WP_Lair2"));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE,sTag,lLoc,FALSE,"Lair2Spawn");
|
||
|
}
|
||
|
}
|