18 lines
329 B
Plaintext
18 lines
329 B
Plaintext
void main()
|
|
{
|
|
object oPC;
|
|
int iRandom;
|
|
location lLoc;
|
|
|
|
oPC = GetEnteringObject();
|
|
if (GetIsPC(oPC))
|
|
{
|
|
if (Random(5)==0)
|
|
{
|
|
iRandom = Random(3)+1;
|
|
lLoc = GetLocation(GetObjectByTag("RP1_ANT" + IntToString(iRandom)));
|
|
CreateObject(OBJECT_TYPE_CREATURE,"en3_GANTFIRE",lLoc);
|
|
}
|
|
}
|
|
}
|