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

25 lines
603 B
Plaintext

#include "rd_spawnzones"
//#include "rd_questinc"
void main()
{
if (GetIsPC(GetEnteringObject()))
{
CreateItemOnObject("it_mpotion008",GetEnteringObject());
//phantom
//object oBoss;
//oBoss = GetQuestCamp(GetEnteringObject(),OBJECT_SELF,TRUE,"phantom");
//SendMessageToPC(GetEnteringObject(),"Boss tag = " + GetTag(oBoss));
if (GetLocalInt(OBJECT_SELF,"Spawned") == 0)
{
RespawnCampsAE(GetEnteringObject(),2);
RespawnMobsAE(GetEnteringObject(),2);
SetLocalInt(OBJECT_SELF,"Spawned",1);
SetLocalInt(OBJECT_SELF,"RandomEncounter",1);
}
}
}