EN4_PRC8/_module/nss/en4_rnd_trgexit.nss
Jaysyn904 b464d8da05 Initial Commit
Initial Commit [v1.32PRC8]
2025-04-03 13:38:45 -04:00

17 lines
273 B
Plaintext

#include "rd_advzones"
void main()
{
int iArea;
object oPC;
oPC = GetEnteringObject();
iArea = GetLocalInt(oPC,"AZCurrentArea") + 1;
if (GetIsInCombat(oPC))
SendMessageToPC(oPC,"You are unable to leave the area while in combat.");
else
ZoneToArea(oPC,iArea);
}