29 lines
520 B
Plaintext
29 lines
520 B
Plaintext
|
|
||
|
#include "in_g_cutscene"
|
||
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oSpawn;
|
||
|
location lTarget;
|
||
|
object oTarget;
|
||
|
|
||
|
object oPC = GetFirstPC();
|
||
|
|
||
|
// Give 10 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 10);
|
||
|
|
||
|
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();
|
||
|
|
||
|
oTarget = GetWaypointByTag("WP_SPn_sas28");
|
||
|
lTarget = GetLocation(oTarget);
|
||
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "sas28", lTarget);
|
||
|
|
||
|
GestaltClearFX(oPC);
|
||
|
|
||
|
}
|