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

45 lines
788 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
object oSelf = OBJECT_SELF;
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
object oTarget;
// Have the PC perform a sequence of actions.
AssignCommand(oPC, ClearAllActions());
// Cutscene functions:
BlackScreen(oPC);
// Have the PC perform a sequence of actions.
AssignCommand(oPC, ActionJumpToObject(GetObjectByTag("bsh_6b")));
// Cutscene functions:
FadeFromBlack(oPC);
oTarget = GetObjectByTag("bsh_6b");
DelayCommand(2.0, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
oTarget = GetObjectByTag("X0_TRAP_GR_FI");
DestroyObject(oTarget, 3.0);
DelayCommand(3.5, DestroyObject(oSelf));
}