BIS fnc recompile

From Bohemia Interactive Community
Revision as of 00:43, 7 November 2013 by Killzone Kid (talk | contribs) (Created page with "<syntaxhighlight lang=javascript>→‎Author: Karel Moricky Description: Recompiles all functions: private ["_functionsInit"]; _functionsInit = gettext (configfile >> "CfgFun...")
Jump to navigation Jump to search
/*
	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
};