Page MenuHomeFeedback Tracker

function in CfgFunctions is not created when init.sqf is executed
New, WishlistPublic

Description

Here is my CfgFunctions block

class CfgFunctions
{
class TOTO
{

		class TOTO
		{
			class INIT {preInit = 1; file = "recompile.sqf";};
		};

};

class ZDB
{

		class Default
		{
			class LOG {};
			class LOOP_REQUEST {};
			class LOOP_START {};
			class WORKER {};
			class FRIENDLY_FIRE_EH {};
			class FRIENDLY_FIRE_PENALTY {};
		};

};
};

Here is the error that was generated upon mission start:
22:17:23 Error in expression <FRIENDLY_FIRE_EH", [], 5, "START"] call ZDB_FNC_LOOP_REQUEST;
};

tf_no_auto_l>
22:17:23 Error position: <ZDB_FNC_LOOP_REQUEST;
};

tf_no_auto_l>
22:17:23 Error Variable indéfinie dans une expression: zdb_fnc_loop_request
22:17:23 File mpmissions\__CUR_MP.Altis\params\init.sqf, line 52

It looks like functions defined in CfgFunction are not 100% reliable (the error above blocked ArmA in loading screen because zdb_fnc_loop_request was undefined).
I would like to know whether this is a real bug or an expected behaviour.

Details

Legacy ID
3645690978
Severity
None
Resolution
Open
Reproducibility
Random
Category
Config

Event Timeline

d3nn16 set Category to Config.Aug 13 2015, 3:39 PM
d3nn16 set Reproducibility to Random.
d3nn16 set Severity to None.
d3nn16 set Resolution to Open.
d3nn16 set Legacy ID to 3645690978.May 8 2016, 12:30 PM