Added henchman rental

Many areas, items, and creatures were adjusted for balance and aesthetics.
This commit is contained in:
EpicValor
2023-08-24 15:20:50 -05:00
parent d6cb8322b9
commit 07f4ebed49
2373 changed files with 518431 additions and 7256 deletions

View File

@@ -0,0 +1,26 @@
//69_hench_scout2 (stealth)
//Henchman will go into stealth, scout enemies, and
// not attack until PC attacks
//Created by: 69MEH69 Sep2004
#include "69_inc_henai"
void main()
{
object oClosest = GetNearestCreature(CREATURE_TYPE_REPUTATION, REPUTATION_TYPE_ENEMY,
OBJECT_SELF, 1);
if (GetIsObjectValid(oClosest)) {
ClearAllActions();
SpeakString("Very well");
SetLocalInt(OBJECT_SELF,"Scouting",TRUE);
SetLocalInt(OBJECT_SELF,"ScoutingReport",FALSE);
SetLocalObject(OBJECT_SELF,"ScoutTarget",oClosest);
SetAssociateState(NW_ASC_MODE_DEFEND_MASTER);
SetLocalInt(OBJECT_SELF, "X2_HENCH_STEALTH_MODE", 2);
SetActionMode(OBJECT_SELF, ACTION_MODE_STEALTH, TRUE);
DelayCommand(3.0, ActionForceFollowObject(oClosest,10.0));
//DelayCommand(3.0, ActionForceMoveToObject(oClosest, FALSE, 10.0, 45.0f));
} else{
SetLocalInt(OBJECT_SELF,"Scouting",FALSE);
}
}