The two game externals TA_BeginOverlay and TA_EndOverlay start and end the overlay mode for daily routines and change the behavior of the game externals TA and TA_Min.
In overlay mode the start and end times passed to TA and TA_Min are relative to the world time when the overlay mode has been started. The overlay daily routine is enabled and activated with TA_EndOverlay and the overlay daily routine entries are only executed ones. After the overlay daily routine is finished, the next regular daily routine will be used.
Currently the overlay mode is not handled at all. This results in permanent (regular) daily routine entries, that are very likely overlapping with existing regular daily routine entries (not allowed in the original engine).
Overlay daily routines are used in G1 for Stone (exit dialog after "Can you reinforce this ore armor for me?") and Lester ("Who are you?", "How can I find my way around here in the Camp?", "Show me the way...", ...).
The related game external TA_RemoveOverlay is neither used in G1 nor G2 (but might be used by fan-made modifications/patches).
A first workaround could be to ignore TA and TA_Min calls in overlay mode to avoid overlapping daily routine entries. This would only break Lester's camp guide dialog in G1.
The two game externals
TA_BeginOverlay
andTA_EndOverlay
start and end the overlay mode for daily routines and change the behavior of the game externalsTA
andTA_Min
.In overlay mode the start and end times passed to
TA
andTA_Min
are relative to the world time when the overlay mode has been started. The overlay daily routine is enabled and activated withTA_EndOverlay
and the overlay daily routine entries are only executed ones. After the overlay daily routine is finished, the next regular daily routine will be used.Currently the overlay mode is not handled at all. This results in permanent (regular) daily routine entries, that are very likely overlapping with existing regular daily routine entries (not allowed in the original engine).
Overlay daily routines are used in G1 for Stone (exit dialog after "Can you reinforce this ore armor for me?") and Lester ("Who are you?", "How can I find my way around here in the Camp?", "Show me the way...", ...).
The related game external
TA_RemoveOverlay
is neither used in G1 nor G2 (but might be used by fan-made modifications/patches).A first workaround could be to ignore
TA
andTA_Min
calls in overlay mode to avoid overlapping daily routine entries. This would only break Lester's camp guide dialog in G1.