28 lines
460 B
Plaintext
28 lines
460 B
Plaintext
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
location lTarget;
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
oTarget = GetWaypointByTag("WP_Muulsh_01");
|
||
|
|
||
|
lTarget = GetLocation(oTarget);
|
||
|
|
||
|
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
|
||
|
|
||
|
oTarget=GetFirstFactionMember(oPC, FALSE);
|
||
|
|
||
|
while (GetIsObjectValid(oTarget))
|
||
|
{
|
||
|
AssignCommand(oTarget, ClearAllActions());
|
||
|
|
||
|
AssignCommand(oTarget, ActionJumpToLocation(lTarget));
|
||
|
oTarget=GetNextFactionMember(oPC, FALSE);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|