Garry's Mod Wiki

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 &lt;page&gt;NPC:ConditionName&lt;/page&gt;.</arg> <arg name="conditionID" type="number">The ID of condition. See <page>NPC:ConditionName</page>.</arg> </args> </function>