Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
17
_module/nss/en4_giantant.nss
Normal file
17
_module/nss/en4_giantant.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user