Updated henchman inventory

turned off their combat one-liners
and added treasure script to destroy itself 30s after closing
This commit is contained in:
EpicValor
2023-09-14 18:46:27 -05:00
parent 73e6fc3e79
commit 70cd1ac3e2
23 changed files with 485 additions and 920 deletions

View File

@@ -16,10 +16,10 @@ void main()
{
//This is the equivalent of a force conversation bubble, should only be used if you want an NPC
//to say something while he is already engaged in combat.
if(GetSpawnInCondition(NW_FLAG_SPECIAL_COMBAT_CONVERSATION))
{
ActionStartConversation(OBJECT_SELF);
}
//if(GetSpawnInCondition(NW_FLAG_SPECIAL_COMBAT_CONVERSATION))
//{
//ActionStartConversation(OBJECT_SELF);
//}
// * July 2003
// * If in Stealth mode, don't attack enemies. Wait for player to attack or
@@ -37,10 +37,10 @@ void main()
if(GetIsEnemy(GetLastPerceived()))
{
SetFacingPoint(GetPosition(GetLastPerceived()));
if(d4(1) == 1)
{
BattleCry(); //In 69_hench_lib
}
//if(d4(1) == 1)
//{
//BattleCry(); //In 69_hench_lib
//}
HenchmenCombatRound(OBJECT_INVALID);
}
//Linked up to the special conversation check to initiate a special one-off conversation