2025/12/19 Update
Added PEPS. Updated nim tools. Hooked up new GUI event. Added PRC8 Discord journal entry. Full compile.
This commit is contained in:
16
_module/nss/0c_if_scout.nss
Normal file
16
_module/nss/0c_if_scout.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user