TA - routine functions
Functions for setting NPC daily routines.
Functions
TA
TA
Sets the NPC daily routine
Parameters
var C_NPC npc
- instance of the NPCvar int start_h
- start hourvar int stop_h
- stop hourvar func state
- state function (ZS_*)var string waypoint
- name of the waypoint
TA_Min
TA_Min
Sets the NPC daily routine with minute precision
Parameters
var C_NPC npc
- instance of the NPCvar int start_h
- start hourvar int start_m
- start minutevar int stop_h
- stop hourvar int stop_m
- stop minutevar func state
- state function (ZS_*)var string waypoint
- name of the waypoint
Deprecated
TA_CS
TA_CS
Relic of the cutscene system
Sets a cutscene routine for the NPC
Parameters
var C_NPC npc
- instance of the NPCvar string csname
- name of the cutscenevar string rolename
- role of the NPC in the cutscene
TA_BeginOverlay
TA_BeginOverlay
Not used in the original scripts, starts a daily routine overlay
Parameters
var C_NPC npc
- instance of the NPC
TA_EndOverlay
TA_EndOverlay
Not used in the original scripts, ends a daily routine overlay
Parameters
var C_NPC npc
- instance of the NPC
TA_RemoveOverlay
TA_RemoveOverlay
Not used in the original scripts, removes an active daily routine overlay
Parameters
var C_NPC npc
- instance of the NPC