PWE_PRC8/_module/nss/ff_on_heartbeat.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

25 lines
767 B
Plaintext

//*************************************
//* NWN-MySQL 4.0 (c) 2004 FastFrench *
//*************************************
// This file is licensed under the terms of the
// GNU GENERAL PUBLIC LICENSE (GPL) Version 2
// *************************
// ** ff_on_heartbeat.nss **
// *************************
// ** use this script on your OnActivate module event
// ** or add the instruction:
// ** ExecuteScript("ff_on_heartbeat", OBJECT_SELF);
// ** at the beginning of your main function in your existing script
#include "ff_modhb_inc"
void main()
{
if (FF_USING_NWN_SPEECH) // Speech processing
boucle();
else // Otherwise, keeps some minimal activity to avoid restarts
SetLocalString(GetModule(), "NWNX!VERSION", "xxxxxxxx");
}