NPC.SetMovementActivity
From GMod Wiki
Revision as of 17:20, 18 August 2011 by Disseminate (Talk | contribs)
Function | |
Syntax | NPC:SetMovementActivity( Integer activity ) |
Description: | |
Set the movement activity of the NPC. | |
Returns: | nil |
In Object: | NPC |
Realm: | http://wiki.garrysmod.com |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.SetMovementActivity]NPC.SetMovementActivity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Info
- This will override the NPC's current movement activity
- The argument should be an ACT to override it with.
- This must be called while the NPC is walking a path to take effect