Merged redundant hak files

Merged redundant hak files.  Moved hak scripts into module.  Updated gitignore.  Full Compile.  Added release folder & archive.
This commit is contained in:
Jaysyn904
2024-12-12 15:02:17 -05:00
parent f58f9a29b4
commit e2f4ba74d5
3227 changed files with 52239 additions and 55 deletions

View File

@@ -0,0 +1,33 @@
/////////////////////////////////////////////////////////////
// NPC ACTIVITIES 6.0 - Dynamic Script Wrapper
// For the NPC Event:Conversation Abort Exit
//-----------------------------------------------------------
// By Deva Bryson Winblood - 01/2003
// Also used with NPC ACTIVITIES 6.0 with only a script name modification
/////////////////////////////////////////////////////////////
// If you use this wrapper you should NEVER need to change it
// again. If you read the documentation that came with NPC
// ACTIVITIES 5.0 it explains how to change this script at any
// moment and as many times as you like from within the game
// while it is running. This makes this system dynamic rather
// than static.
//////////////////////////////////////////////////////////////
void main()
{
string sScriptToUse=GetLocalString(OBJECT_SELF,"sCRSPConvA");
string sPost="POST_"+GetTag(OBJECT_SELF);
object oPost=GetObjectByTag(sPost);
if (GetStringLength(sScriptToUse)>1)
{ // has a specified script
ExecuteScript(sScriptToUse,OBJECT_SELF);
} // has a specified script
else if (oPost!=OBJECT_INVALID)
{ // run the npc activities scripts
ExecuteScript("npcactivities6",OBJECT_SELF);
} // run the npc activities scripts
else
{ // run the Bioware default - non henchman
ExecuteScript("nw_walk_wp",OBJECT_SELF);
} // run the Bioware default - non henchman
}