UI_set_schedule_type
UI_set_schedule_type(actor npc, int sched)
npc->set_schedule_type(int sched)
Gets the current schedule of an NPC.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC whose schedule we wish to change. |
sched |
The new schedule type. Can be any of the values listed as the return of a get_schedule_type intrinsic call. |
SI SPECIFIC
The SI-specific value
WALK_TO_SCHEDULE = 32cannot be set with this intrinsic; only a call to either,UI_path_run_usecodeorUI_si_path_run_usecodeintrinsics can do that.