ENT.OnCondition
From GMod Wiki
Revision as of 19:42, 13 November 2009 by Crazy Quebecer (Talk | contribs)
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