EN4_PRC8/_module/nss/en4_rnd_trgenter.nss

17 lines
273 B
Plaintext
Raw Normal View History

#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);
}