UW2_PRC8/_module/nss/hgll_lvl_area_en.nss
Jaysyn904 2bb2c470e0 Updated to PRC8
Updated to PRC8.  Further function integration.  Fixed NPC onDeath script.   Full compile.  Updated release archive.
2024-02-20 22:24:11 -05:00

19 lines
401 B
Plaintext

#include "prc_inc_util"
void main()
{
object oPC = GetEnteringObject();
if (GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oPC) != OBJECT_INVALID)
{
if (!GetIsDM(oPC))
{
location lWay = GetLocation(GetWaypointByTag("fky_entry_area"));//port to entry
AssignCommand(oPC, JumpToLocation(lWay));
}
}
else
{
PRCForceRest(oPC);
}
}