Spawner, Creature & Item work
Spawner work. Creatures & placeables in Kobold cave now respawn. Placeables in Forest of Hope: South now respawn. Fixed up a few more items & creatures.
This commit is contained in:
@@ -222,6 +222,29 @@ int SpawnCheckCustom(object oSpawn)
|
||||
}
|
||||
//:: Checks for stage 98 or lower (Drusilla's not dead) for the "Vengeful Druid quest" */
|
||||
|
||||
//:: Checks for non-completion of "The Outcasts" quest
|
||||
if (nSpawnCheckCustom == 53)
|
||||
{
|
||||
//:: Initialize major variables
|
||||
object oArea = GetArea(OBJECT_SELF);
|
||||
object oPC = GetFirstObjectInArea(oArea);
|
||||
|
||||
//:: Cycle through PCs in Area
|
||||
while (oPC != OBJECT_INVALID)
|
||||
{
|
||||
//:: Check quest stage
|
||||
if ( RetrieveQuestState("outcasts", oPC) <= 3 )
|
||||
{
|
||||
nProcessSpawn = TRUE;
|
||||
//SendMessageToPC(oPC, "Spawn Processed");
|
||||
SetLocalInt(oSpawn, "SpawnProcessed", TRUE);
|
||||
}
|
||||
|
||||
oPC = GetNextObjectInArea(oArea);
|
||||
}
|
||||
}
|
||||
//:: Checks for non-completion of "The Outcasts" quest
|
||||
|
||||
|
||||
// -------------------------------------------
|
||||
// Only Make Modifications Between These Lines
|
||||
|
||||
Reference in New Issue
Block a user