BIS fnc recompile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Created page with "<syntaxhighlight lang=javascript>→‎Author: Karel Moricky Description: Recompiles all functions: private ["_functionsInit"]; _functionsInit = gettext (configfile >> "CfgFun...")
m (1 revision)
(No difference)

Revision as of 15:47, 25 July 2014

/*
	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
};