Jump to content

Home

Activate script when enter a module


Mindtwistah

Recommended Posts

Actually you have the right idea, only backwards. Basically, you rename the old OnEnter .ncs file to something and compile your new custom script with the original OnEnter name. Then you call ExecuteScript on the old script at the end. This strategy for injecting a script into the OnEnter event is illustrated by Darth333 in post #3 of this thread.

Link to comment
Share on other sites

Your script would execute the original script. The original script, k_ptar_08aa_en.ncs, you will extract and rename to something like tar_08aa_en_old.ncs. Then you will name your script k_ptar_08aa_en and on the last line of your script before the closing brace, put the following:

ExecuteScript("tar_08aa_en_old");

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...