-
Notifications
You must be signed in to change notification settings - Fork 18
Module Framework
Broström.A | Evul edited this page Nov 12, 2023
·
1 revision
https://github.com/7Cav/cScripts/blob/main/cScripts/functions/init/fn_init_zenModuels.sqf Simple module
["7Cav Other", "Print a system chat",
{
params ["_modulePos", "_objectPos"];
systemChat "Hello World"
},
"\a3\modules_f\data\portraitmodule_ca.paa"
] call zen_custom_modules_fnc_register;
Super small moduels that just do simple task can be just definined in fn_init_zenModuels file. For more advanced moduels. once that have UI por specialized things ussaly is handled in its own funciton.
https://github.com/7Cav/cScripts/tree/main/cScripts/functions/modules
Start your zen function by accepting the following parameters passed down from the init collection.
params ["_modulePos", "_objectPos"];
7th Cavalry Gaming 2018. | Maintained by S3 1BN Scripting Department