Lankhmar_PRC8/_module/nss/cnv_move_docks6.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

37 lines
708 B
Plaintext

#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);
}
}