34 lines
711 B
Plaintext
34 lines
711 B
Plaintext
|
|
#include "nw_i0_plot"
|
|
#include "in_g_cutscene"
|
|
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 5 experience (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
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);
|
|
RestoreCameraFacing();
|
|
|
|
SetLocalString(oPC, "kels", "1");
|
|
|
|
PlayOldTheme();
|
|
|
|
// Spawn "kels".
|
|
oTarget = GetWaypointByTag("WP_SPn_KelsTmp");
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "kels", GetLocation(oTarget));
|
|
AssignCommand(oSpawn, ActionStartConversation(oPC));
|
|
|
|
}
|