Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2022-10-07 14:20:31 -04:00
parent 0bbbd2678a
commit 128e7e59a4
7060 changed files with 4955665 additions and 0 deletions

21
module/nss/checkarea2.nss Normal file
View File

@@ -0,0 +1,21 @@
void main()
{
object oSelf = GetObjectByTag("partyroomexitb");
object oArea = GetArea(oSelf);
object oObject = GetFirstObjectInArea(oArea);
//Cycle through the area to make sure their are no PC's in the area
while(GetIsObjectValid(oObject))
{
if(!GetIsPC(oObject))
{
DeleteLocalInt(GetModule(), "PartyB");
}
else if(GetIsPC(oObject))
{
SetLocalInt(GetModule(), "PartyB", 1);
return;
}
oObject = GetNextObjectInArea(oArea);
}
}