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

39 lines
712 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_3c")));
// Cutscene functions:
FadeFromBlack(oPC);
oTarget = GetObjectByTag("bsh_3c");
DelayCommand(2.0, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
DelayCommand(4.0, DestroyObject(oSelf));
}