Added PEPS AI. Updated module name. Set all henchmen to have a random race &/or class based name using a custom version of Markshire's Nomeclature scripts, as well as appearance. Set Constructs, Undead, Outsiders & Elementals to not require food or drink. Full compile.
23 lines
796 B
Plaintext
23 lines
796 B
Plaintext
/*//////////////////////////////////////////////////////////////////////////////
|
|
Script: 0c_if_assoc_mode
|
|
Programmer: Philos
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
Text Appears When script that checks to see if the henchmen has a specific
|
|
associate mode.
|
|
Param:
|
|
nMode - The mode to check.
|
|
*///////////////////////////////////////////////////////////////////////////////
|
|
#include "0i_associates"
|
|
int StartingConditional()
|
|
{
|
|
object oHenchman = OBJECT_SELF;
|
|
int nMode = StringToInt(GetScriptParam("nMode"));
|
|
// This conversation line turns off picking up any items.
|
|
if (nMode == -1)
|
|
{
|
|
if(ai_SetAIMode (oHenchman, AI_MODE_PICKUP_ITEMS)) return TRUE;
|
|
return FALSE;
|
|
}
|
|
return ai_GetAIMode (oHenchman, nMode);
|
|
}
|