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

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