ENT.OnCondition
From GMod Wiki
Event Hook | |
Hook Name | OnCondition |
Syntax | ENT:OnCondition( Enum ConditionID ) |
Description | Is called each time the NPC updates its conditions. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=ENT.OnCondition]ENT.OnCondition [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- COND_ enums are stored as strings and not ints and have to use ConditionName to compare