NPC.HasCondition
From GMod Wiki
Function | |
Syntax | npc:HasCondition( Enum condition ) |
Description: | |
Checks to see if the NPC has the condition. | |
Returns: | Boolean |
In Object: | Npc |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.HasCondition]NPC.HasCondition [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- For a list of conditions that all NPC's should have, see: http://developer.valvesoftware.com/wiki/Shared_conditions
- Conditions validate an NPC's current course of action by acting as interrupts.