Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-09-25 21:32:17 -04:00
parent c1b271b363
commit ec287507a1
10074 changed files with 8442145 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/*
Henchman Inventory And Battle AI
This file contains some modifications of the default
associate functions.
*/
#include "hench_i0_act"
const float henchMaxScoutDistance = 50.0;
// Modified form of ResetHenchmenState
// sets the henchmen to commandable, deletes locals
// having to do with doors and clears actions
// Modified by Tony K to clear more things
void HenchResetHenchmenState();
void HenchResetHenchmenState()
{
SetCommandable(TRUE);
DeleteLocalObject(OBJECT_SELF, "NW_GENERIC_DOOR_TO_BASH");
DeleteLocalInt(OBJECT_SELF, "NW_GENERIC_DOOR_TO_BASH_HP");
DeleteLocalInt(OBJECT_SELF, henchBuffCountStr);
DeleteLocalInt(OBJECT_SELF, henchHealCountStr);
SetAssociateState(NW_ASC_IS_BUSY, FALSE);
ClearForceOptions();
ClearAllActions();
}