2025/12/20 Update
Added PEPS Updated new GUI event. Added PRC8 Discord Journal entry Full compile.
This commit is contained in:
15
_module/nss/0c_if_not_master.nss
Normal file
15
_module/nss/0c_if_not_master.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
Script: 0c_if_not_master
|
||||
Programmer: Philos
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Text Appears When script that checks if the speaker is the master of this
|
||||
henchman.
|
||||
*///////////////////////////////////////////////////////////////////////////////
|
||||
#include "0i_constants"
|
||||
int StartingConditional()
|
||||
{
|
||||
string sInput = GetScriptParam("sInput");
|
||||
if(sInput == "Can_Hire_Henchman" && AI_ALLOW_TAKING_HENCHMAN) return !GetIsObjectValid(GetMaster());
|
||||
else if(sInput == "Cannot_Hire_Henchman") return !GetIsObjectValid(GetMaster());
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user