Files
PWE_PRC8/_module/nss/0c_if_scout.nss
Jaysyn904 0e785c1015 2025/12/25 Update
Updated PEPS.
Update nim tools.
Updated NWNxEE.
Full compile.
2025-12-25 00:49:39 -05:00

17 lines
722 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_scout
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that check if scouting is activated on this server.
Script Param: nTRUE -
if set to 1 then it will pass TRUE if they are in scout mode.
if set to 0 then it will pass TRUE if they are NOT in scout mode.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
int StartingConditional()
{
int nTRUE = StringToInt(GetScriptParam("nTRUE"));
return AI_SCOUT_AHEAD_ON && ai_GetAIMode(OBJECT_SELF, AI_MODE_SCOUT_AHEAD) == nTRUE;
}