Events
Cyber Engine Tweaks has builtin events which can be listened using the registerForEvent()
function. These listeners must be registered inside the init.lua
file.
Keep in mind that CET events are not game events. For example, onInit doesn't mean the game the initializing, but rather that CET loaded mods and the game's Scripting API.
If you need to listen for game events, take a look at the Observers functions.
Definition
Events Trigger Sequence
Here is a video showing when events are triggered in real-time:
Available Events
onInitonUpdateonDrawonOverlayOpenonOverlayCloseonShutdownonTweakLast updated