Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
////////////////////////////////////////////////////////////////////////////////
//
// Olander's AI
// oai_cust_hb
// by Don Anderson
// dandersonru@msn.com
//
// Place your custom heartbeat requirements here.
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
//Example
/*
ExecuteScript("blah_blah", OBJECT_SELF);
*/
/******************************************************************************/
//:: PLACE CUSTOM HEARTBEAT STUFF BELOW HERE
object oNPC = OBJECT_SELF;
//Olander's Pack Animals
int nPA = GetLocalInt(oNPC,"PACKANIMAL");
if(nPA == 1)
{
ExecuteScript("opa_pack_command", oNPC);
return;
}
//Olander's Horses
int nHorse = GetLocalInt(OBJECT_SELF,"HORSE");
if(nHorse == 1)
{
ExecuteScript("hor_hors_command", oNPC);
return;
}
//Check for Command Mode in Allegiance System
int nSquad = GetLocalInt(oNPC,"OAS_SQUAD");
if(nSquad == 1)
{
ExecuteScript("oas_sqd_command", oNPC);
}
}