2025/07/18 Update
Added PEPS. Full compile.
This commit is contained in:
16
_module/nss/0c_if_com_script.nss
Normal file
16
_module/nss/0c_if_com_script.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user