Callbacks - Telltale-Modding-Group/Telltale-Script-Editor GitHub Wiki
Callbacks in the Telltale Tool
The Telltale Tool makes use of callbacks across many of its scripts. Below is a list of all currently known callbacks in the latest version of the Telltale Tool (found in TWD:TTDS). They may not be present in all versions, and not all have been tested.
Basic usage
Below is an example of how to use a callback.
local OnCallbackFired = function()
--Code within this method runs when the callback is fired!
end
Callback_OnPostUpdate:Add(OnCallbackFired)
All known callbacks (so far)
OnGameSceneOpen
Called when a scene is opened.
OnGameSceneLoad
Called when a scene finishes loading
OnGameSceneEnd
Called when a scene ends.
OnPostUpdate
Called after each engine update.
OnSetPlayer
Unknown Usage
OnSceneAddFinished
Unknown Usage
OnSceneOpenFinished
Unknown Usage
OnLogicReady
Unknown usage