Initial commit
Initial commit [v9.7]
This commit is contained in:
16
_module/nss/oncutabort.nss
Normal file
16
_module/nss/oncutabort.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
#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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user