2025/07/18 Update
Added PEPS. Full compile.
This commit is contained in:
16
_module/nss/0e_c2_1_hb.nss
Normal file
16
_module/nss/0e_c2_1_hb.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
Script: 0e_c2_1_hb
|
||||
Programmer: Philos
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Monster OnHeartbeat script;
|
||||
This will usually fire every 6 seconds (1 game round).
|
||||
|
||||
I am reverting the AI script back to the games default scripts for efficiency.
|
||||
*///////////////////////////////////////////////////////////////////////////////
|
||||
#include "0i_module"
|
||||
void main()
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, AI_ONSPAWN_EVENT, TRUE);
|
||||
ai_ChangeEventScriptsForMonster(OBJECT_SELF);
|
||||
ExecuteScript("nw_c2_default1");
|
||||
}
|
Reference in New Issue
Block a user