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