Revision Difference
ENTITY:OnCondition#518312
<function name="OnCondition" parent="ENTITY" type="hook">
<ishook>yes</ishook>
<description>Called each time the NPC updates its condition.</description>
<realm>Server</realm>
<args>
<arg name="conditionID" type="number">The ID of condition. See <page>NPC:ConditionName</page>.</arg>
<arg name="conditionID" type="number">The ID of condition. See <page>NPC:ConditionName</page>.</arg>
</args>
</function>