WoR_PRC8/_module/nss/area_enter_namer.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

19 lines
508 B
Plaintext

void main()
{
ExecuteScript("area_enter", OBJECT_SELF);
object oPC = GetEnteringObject();
if (GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oPC) != OBJECT_INVALID)
{
if (!GetIsDM(oPC))
{
location lWay = GetLocation(GetWaypointByTag("WP_ITEM_NAMER_OUT"));//port to entry
AssignCommand(oPC, JumpToLocation(lWay));
SendMessageToPC(oPC, "Only one at a time in this area, please wait your turn!");
}
}
else
{
ForceRest(oPC);
}
}