LoT_PRC8/_module/nss/hench_i0_assoc.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

33 lines
802 B
Plaintext

/*
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();
}