19 lines
508 B
Plaintext
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);
|
|
}
|
|
}
|