- Include your own "script_component.hpp" in the "config.cpp" of your addon
see script_macros_common.hpp for more information
-
Add the
Extended_PreInit_EventHandlers
class to your "config.cpp" (see example for full code) -
Create a "XEH_preInit.hpp" file
-
Add the settings for your mod by calling the
cba_settings_fnc_init
function (see example)