Revision Difference
ENTITY:OnCondition#525263
<function name="OnCondition" parent="ENTITY" type="hook">
<ishook>yes</ishook>
<description>Called each time the NPC updates its condition.</description>⤶
<description>Called each time the NPC updates its condition.⤶
<note>This hook only exists for **ai** type SENTs</note>⤶
</description>⤶
<realm>Server</realm>
<args>
<arg name="conditionID" type="number">The ID of condition. See <page>NPC:ConditionName</page>.</arg>
</args>
</function>