NPC.GetMovementActivity
From GMod Wiki
| Function | |
| Syntax | NPC:GetMovementActivity( ) |
| Description: | |
| Get the movement activity of the NPC. | |
| Returns: | Integer |
| In Object: | NPC |
| Realm: | http://wiki.garrysmod.com |
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.GetMovementActivity]NPC.GetMovementActivity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |
Additional Info
- The movement activity is the ACT that the NPC is currently playing, if in movement.
- This is -1 if the NPC is not moving.