EN4_PRC8/_module/nss/en4_giantant.nss

18 lines
329 B
Plaintext
Raw Permalink Normal View History

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);
}
}
}