//::////////////////////////////////////////////////// //:: X0_CH_HEN_SPAWN //:: Copyright (c) 2002 Floodgate Entertainment //::////////////////////////////////////////////////// /* Henchman-specific OnSpawn handler for XP1. Based on NW_CH_AC9 by Bioware. */ //::////////////////////////////////////////////////// //:: Created By: Naomi Novik //:: Created On: 10/09/2002 //::////////////////////////////////////////////////// #include "prc_alterations" #include "x0_inc_henai" #include "x2_inc_banter" #include "x2_inc_globals" void main() { string sAreaTag = GetTag(GetArea(OBJECT_SELF)); string sModuleTag = GetTag(GetModule()); string sMyTag = GetTag(OBJECT_SELF); //Sets up the special henchmen listening patterns SetAssociateListenPatterns(); // Set additional henchman listening patterns bkSetListeningPatterns(); // Default behavior for henchmen at start // * July 2003. Set this to true so henchmen // * will hopefully run off a little less often // * by default // * September 2003. Bad decision. Reverted back // * to original. This mode too often looks like a bug // * because they hang back and don't help each other out. //SetAssociateState(NW_ASC_MODE_DEFEND_MASTER, TRUE); SetAssociateState(NW_ASC_DISTANCE_2_METERS); //Use melee weapons by default SetAssociateState(NW_ASC_USE_RANGED_WEAPON, FALSE); // For some general behavior while we don't have a master, // let's do some immobile animations SetSpawnInCondition(NW_FLAG_IMMOBILE_AMBIENT_ANIMATIONS); }