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.
15 lines
597 B
Plaintext
15 lines
597 B
Plaintext
/*//////////////////////////////////////////////////////////////////////////////
|
|
Script: 0e_ch_1_hb
|
|
Programmer: Philos
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
Associate(Summons, Familiar, Companion) OnHeart beat script when out of combat;
|
|
This will usually fire every 6 seconds (1 game round).
|
|
*///////////////////////////////////////////////////////////////////////////////
|
|
#include "0i_module"
|
|
void main()
|
|
{
|
|
SetLocalInt(OBJECT_SELF, AI_ONSPAWN_EVENT, TRUE);
|
|
ai_ChangeEventScriptsForAssociate(OBJECT_SELF);
|
|
ExecuteScript("nw_ch_ac1");
|
|
}
|