UW2_PRC8/_module/nss/hgll_lvl_area_en.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

17 lines
373 B
Plaintext

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
{
ForceRest(oPC);
}
}