Files
RoT2_PRC8/src/module/nss/0c_if_com_script.nss
Jaysyn904 ab2fc1d732 Added PEPS AI
Added PEPS AI.
Full compile.
Reorganized repository.
2025-07-28 12:49:34 -04:00

17 lines
677 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_com_script
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that returns TRUE the caller does have an ai combat
script set to sAIScript.
Param:
sAIScript - The special combat script to check.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
int StartingConditional()
{
string sAIScript = GetScriptParam("sAIScript");
string sAICombatScript = GetLocalString (OBJECT_SELF, AI_COMBAT_SCRIPT);
return (sAIScript == sAICombatScript);
}