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