Files
EN6_PRC/_module/nss/0c_if_taunt.nss
Jaysyn904 c07a7138fb 2025/12/15 Update
Updated PEPS.
Hooked up new GUI event.
Updated baseitems.2da for new crafting items.
Updated nim tools.
Full compile.
2025-12-16 20:00:39 -05:00

16 lines
708 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_taunt
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that returns TRUE the server allows a henchman to
taunt and if they have the don't have the taunt ai script set.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
return (AI_TAUNTING_ON &&
GetSkillRank(SKILL_TAUNT, oHenchman) > ai_GetCharacterLevels(oHenchman) &&
GetLocalString(oHenchman, AI_COMBAT_SCRIPT) != "ai_a_taunter");
}