Initial commit
Initial commit [v9.7]
This commit is contained in:
28
_module/nss/cnv_tprt_bttm.nss
Normal file
28
_module/nss/cnv_tprt_bttm.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
oTarget = GetWaypointByTag("WP_Rtbtm1");
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user