Initial upload
Initial upload
This commit is contained in:
16
_module/nss/hgll_lvl_area_en.nss
Normal file
16
_module/nss/hgll_lvl_area_en.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user