15 lines
315 B
Plaintext
15 lines
315 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPc = GetFirstObjectInArea(OBJECT_SELF);
|
||
|
while(GetIsObjectValid(oPc))
|
||
|
{
|
||
|
if(GetIsPC(oPc))
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
oPc = GetNextObjectInArea(OBJECT_SELF);
|
||
|
}
|
||
|
SetLocalInt(OBJECT_SELF, "Quit", TRUE);
|
||
|
SetLocalInt(OBJECT_SELF, "DONE", FALSE);
|
||
|
}
|