NPC.SetSchedule
From GMod Wiki
| Function | |
| Syntax | npc:SetSchedule( Enum schedule ) |
| Description: | |
| Instructs an NPC to follow a specific engine order. | |
| Returns: | nil |
| In Object: | Npc |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.SetSchedule]NPC.SetSchedule [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- For a list of schedules, see: http://developer.valvesoftware.com/wiki/Shared_schedules
- YOU CANNOT USE THIS TO CHANGE SCHEDULES IN A TASK. Use NPC.StartSchedule instead, note that it should not be used anywhere else (returns errors)