Garry's Mod Wiki

Revision Difference

ENTITY:OnCondition#514619

<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 &lt;page&gt;NPC:ConditionName&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶