Added henchman rental
Many areas, items, and creatures were adjusted for balance and aesthetics.
This commit is contained in:
32
_module/nss/hench_i0_assoc.nss
Normal file
32
_module/nss/hench_i0_assoc.nss
Normal 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();
|
||||
}
|
Reference in New Issue
Block a user