45 lines
895 B
Plaintext
45 lines
895 B
Plaintext
|
|
||
|
#include "in_g_cutscene"
|
||
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
location lTarget;
|
||
|
object oSpawn;
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give 10 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 10);
|
||
|
|
||
|
oTarget = GetWaypointByTag("WP_bg_gol");
|
||
|
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);
|
||
|
}
|
||
|
|
||
|
oTarget = GetWaypointByTag("WP_SPn_sas28");
|
||
|
lTarget = GetLocation(oTarget);
|
||
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "sas28", lTarget);
|
||
|
|
||
|
GestaltClearFX(oPC);
|
||
|
float fFace = GetFacing(oPC);
|
||
|
GestaltCameraMove (0.0, fFace + 90.0,2.0,95.0, fFace + 90.0, 2.0,50.0,0.5,155.0,oPC);
|
||
|
RestoreCameraFacing();
|
||
|
|
||
|
}
|
||
|
|
||
|
|