Amon_PRC8/_module/nss/judra_port2.nss

19 lines
577 B
Plaintext
Raw Normal View History

2025-04-03 19:00:46 -04:00
#include "nw_i0_tool"
void main()
{
object oEnter = GetEnteringObject();
if(!HasItem(GetPCSpeaker(), "ShipsManifest"))
CreateObject(OBJECT_TYPE_PLACEABLE, "Judra_Ship", GetLocation(GetWaypointByTag("Judra_Ship")));
{
object oTarget=GetFirstFactionMember(oEnter, FALSE);
location lLocation = GetLocation(GetWaypointByTag("Judra_Zone2"));
while (GetIsObjectValid(oTarget))
{
AssignCommand(oTarget, ClearAllActions());
AssignCommand(oTarget, ActionJumpToLocation(lLocation));
oTarget=GetNextFactionMember(oEnter, FALSE);
}
}
}