BIS fnc recompile: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
Killzone Kid (talk | contribs) m (Created page with "<syntaxhighlight lang=javascript>→Author: Karel Moricky Description: Recompiles all functions: private ["_functionsInit"]; _functionsInit = gettext (configfile >> "CfgFun...") |
||
Line 1: | Line 1: | ||
<syntaxhighlight lang=javascript>/* | |||
Author: Karel Moricky | |||
Description: | Description: | ||
Recompiles all functions | Recompiles all functions | ||
*/ | */ | ||
private ["_functionsInit"]; | |||
_functionsInit = gettext (configfile >> "CfgFunctions" >> "init"); | |||
if (_functionsInit != "") then { | |||
//if (cheatsEnabled) then {call compile "diag_mergeConfigFile ['o:\arma3\A3\functions_f\config.cpp'];"}; | |||
_this call compile preprocessfilelinenumbers _functionsInit; | |||
true | |||
} else { | |||
"Functions Init not found!" call (uinamespace getvariable "bis_fnc_error"); | |||
false | |||
};</syntaxhighlight> | |||
[ | |||
Revision as of 23:43, 6 November 2013
/*
Author: Karel Moricky
Description:
Recompiles all functions
*/
private ["_functionsInit"];
_functionsInit = gettext (configfile >> "CfgFunctions" >> "init");
if (_functionsInit != "") then {
//if (cheatsEnabled) then {call compile "diag_mergeConfigFile ['o:\arma3\A3\functions_f\config.cpp'];"};
_this call compile preprocessfilelinenumbers _functionsInit;
true
} else {
"Functions Init not found!" call (uinamespace getvariable "bis_fnc_error");
false
};