Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

48 lines
1.0 KiB
Plaintext

////////////////////////////////////////////////////////////////////////////////
//
// Olander's AI
// nw_c2_default9
// by Don Anderson
// dandersonru@msn.com
//
// OnSpawn
//
////////////////////////////////////////////////////////////////////////////////
//NWN Bases
#include "x0_i0_anims"
#include "x0_i0_treasure"
#include "x2_inc_switches"
//NPC Faction Setup for Allegiance System
#include "oas_inc"
#include "oai_inc_ai"
#include "oai_inc_spawn"
void main()
{
object oNPC = OBJECT_SELF;
/******************************************************************************/
//: MAIN SETUP
// * LEAVE THESE ALONE!!
//Sets up the Shouts the NPC Will Listen To
SetListeningPatterns();
//Sets up Personal Characteristics of Each NPC
WhoAmI();
//: MAIN SETUP
/******************************************************************************/
//Olander's Pack Animals
string sPA = GetTag(oNPC);
if(sPA == "PackAnimal")
{
SetLocalInt(oNPC,"FACTION",1000);//Just to Pass the Checks
SetLocalInt(oNPC,"PACKANIMAL",1);
}
}