Przejdź do treści

TA - routine functions

Functions for setting NPC daily routines.

Functions

TA

TA

Sets the NPC daily routine

func void TA(var C_NPC npc, var int start_h, var int stop_h, var func state, var string waypoint) 

Parameters

  • var C_NPC npc - instance of the NPC
  • var int start_h - start hour
  • var int stop_h - stop hour
  • var func state - state function (ZS_*)
  • var string waypoint - name of the waypoint

TA_Min

TA_Min

Sets the NPC daily routine with minute precision

func void TA_Min(var C_NPC npc, var int start_h, var int start_m, var int stop_h, var int stop_m, var func state, var string waypoint) 

Parameters

  • var C_NPC npc - instance of the NPC
  • var int start_h - start hour
  • var int start_m - start minute
  • var int stop_h - stop hour
  • var int stop_m - stop minute
  • var 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

func void TA_CS(var C_NPC npc, var string csname, var string rolename) 

Parameters

  • var C_NPC npc - instance of the NPC
  • var string csname - name of the cutscene
  • var string rolename - role of the NPC in the cutscene

TA_BeginOverlay

TA_BeginOverlay

Not used in the original scripts, starts a daily routine overlay

func void TA_BeginOverlay(var C_NPC npc) 

Parameters

  • var C_NPC npc - instance of the NPC

TA_EndOverlay

TA_EndOverlay

Not used in the original scripts, ends a daily routine overlay

func void TA_EndOverlay(var C_NPC npc) 

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

func void TA_RemoveOverlay(var C_NPC npc) 

Parameters

  • var C_NPC npc - instance of the NPC