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

34 lines
711 B
Plaintext

#include "x0_i0_partywide"
void main()
{
object oTarget;
object oPC = GetPCSpeaker();
FadeToBlack(oPC);
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
// Give 150 GP (to party) to the PC.
GiveGoldToAll(oPC, 150);
// Close "mrhyn1".
oTarget = GetObjectByTag("mrhyn1");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
DelayCommand(3.5, FadeFromBlack(oPC));
// Have "Marhuyn" say something.
DelayCommand(3.7, AssignCommand(GetObjectByTag("Marhuyn"), SpeakString("Farewell, my hero of Lankhmar!")));
// Destroy an object (not fully effective until this script ends).
DelayCommand(4.0, DestroyObject(GetObjectByTag("Marhuyn")));
}