ENT.Think
From GMod Wiki
Event Hook | |
Hook Name | Think |
Syntax | ENT:Think( ) |
Description | Called when the entity thinks. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=ENT.Think]ENT.Think [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- You need to return true if you're using entity.NextThink.
- You should be able to use the example on the client, but then only the client will see the change.