Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-21 20:25:34 -04:00
parent 530aa08f94
commit e0ec0015e6
839 changed files with 442077 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
/*
Upon leaving town, roaming troops spawned in once only
Dalantriel & Jeff Mann: July 22, 2002
*/
void main()
{
if (GetLocalInt(OBJECT_SELF,"NW_DO_ONCE") != 0)
{
return;
}
SoundObjectPlay(GetObjectByTag("BoomsDistant"));
// Flag scout that attack has begun
object oScout = GetObjectByTag("Lomiolad");
SetLocalInt(oScout, "nAttackStarted", 1);
// Spawn in roving groups with delays
location loc;
loc = GetLocation(GetObjectByTag("spawnghastscout6"));
CreateObject(OBJECT_TYPE_CREATURE, "ghastscout006", loc, TRUE);
loc = GetLocation(GetObjectByTag("spawnghastscout7"));
CreateObject(OBJECT_TYPE_CREATURE, "ghastscout007", loc, TRUE);
loc = GetLocation(GetObjectByTag("spawnghastscout8"));
CreateObject(OBJECT_TYPE_CREATURE, "ghastscout008", loc, TRUE);
loc = GetLocation(GetObjectByTag("spawnghastscout9"));
CreateObject(OBJECT_TYPE_CREATURE, "ghastscout009", loc, TRUE);
loc = GetLocation(GetObjectByTag("spawnghastscout10"));
CreateObject(OBJECT_TYPE_CREATURE, "ghastscout010", loc, TRUE);
ActionWait(30.0f);
ActionDoCommand(ExecuteScript("spawnscouts", OBJECT_SELF));
ActionWait(30.0f);
ActionDoCommand(ExecuteScript("spawndefenders2", OBJECT_SELF));
ActionWait(30.0f);
ActionDoCommand(ExecuteScript("spawnogres", OBJECT_SELF));
SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",1);
}