Amon_PRC8/_module/nss/spawnwarcatmain.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

12 lines
425 B
Plaintext

void main()
{
object oCreature = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
if (GetIsObjectValid(oCreature) == TRUE && GetDistanceToObject(oCreature) < 10.0)
{
ExecuteScript("spawnwarcat2", OBJECT_SELF);
DelayCommand(1.0,ExecuteScript("spawnwarcat2", OBJECT_SELF));
DelayCommand(3.0,ExecuteScript("spawnwarcat2", OBJECT_SELF));
DelayCommand(5.0,ExecuteScript("spawnwarcat", OBJECT_SELF));
}
}