Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
35 lines
451 B
Plaintext
35 lines
451 B
Plaintext
void main()
|
|
{
|
|
{
|
|
object oObject = GetFirstObjectInArea();
|
|
int nPCinArea=FALSE;
|
|
location lLoc;
|
|
int nIdx;
|
|
|
|
while (GetIsObjectValid(oObject))
|
|
{
|
|
if (GetIsPC(oObject))
|
|
{
|
|
nPCinArea = TRUE;
|
|
}
|
|
oObject=GetNextObjectInArea();
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (nPCinArea != TRUE)
|
|
{
|
|
|
|
SetLocalInt(GetObjectByTag("jw_acid"),"Reset",1);
|
|
SetLocalInt(GetObjectByTag("jw_fire"),"Reset",1);
|
|
SetLocalInt(GetObjectByTag("jw_spike"),"Reset",1);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
}
|