Initial commit
Initial commit [v9.7]
This commit is contained in:
36
_module/nss/cnv_move_docks6.nss
Normal file
36
_module/nss/cnv_move_docks6.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
#include "in_g_cutscene"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oMUS = GetNearestObject(OBJECT_TYPE_CREATURE, oPC);
|
||||
GestaltCameraFade(0.0, oPC, FADE_IN, FADE_SPEED_MEDIUM, 1.0, 0);
|
||||
GestaltClearFX(oPC);
|
||||
GestaltCameraTrack(0.0, oMUS, 15.0, 45.0, 20.0, 50.0, 1.0, 20.0, oPC, 1, 0);
|
||||
|
||||
oTarget = GetWaypointByTag("WP_Docks6");
|
||||
|
||||
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