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

17 lines
347 B
Plaintext

#include "in_g_cutscene"
void main()
{
// Find who aborted the cutscene, and which scene it was
object oPC = GetLastPCToCancelCutscene();
string sName = GetLocalString(oPC,"st_mv_intro");
if (sName == "st_mv_intro")
{
// This is where the abort code goes
}
GestaltStopCutscene(0.0,oPC,"wp_ho_entry");
}