NPC.CapabilitiesGet
From GMod Wiki
Function | |
Syntax | NPC:CapabilitiesGet( ) |
Description: | |
Gets the capabilities set with NPC.CapabilitiesAdd. | |
Returns: | Number |
In Object: | Npc |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.CapabilitiesGet]NPC.CapabilitiesGet [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Get an NPC's capabilities. |
---|---|
Used on | |
Code | MsgN( ents.FindByClass( "npc_headcrab" )[1]:CapabilitiesGet() ); |
Output | Spits out the capabilities. |
Additional Notes
- Appears to be broken, returns nil.