You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mods (complete and add to the following information):
Arma 3:1.98 stable
CBA:3.15.1 dev 5c478a099b0954baf1c0b085861978e52847ce9b
Description:
Sometimes you need CBA functions in Eden editor (e.g. in Debug console). Also sometimes RECOMPILE is needed to edit functions while game is running. But when RECOMPILE is defined in x\cba\addons\main\script_mod.hpp on game start the functions are not compiled to missionNamespace and can't be used in console by name. They are compiled to uiNamespace only.
Also this prevents ACE Arsenal working in Eden editor.
Steps to reproduce:
define RECOMPILE in x\cba\addons\main\script_mod.hpp;
start game with filepatching;
open Eden editor, open console;
put CBA_fnc_leftTrim, missionNamespace getVariable "CBA_fnc_leftTrim", uiNamespace getVariable "CBA_fnc_leftTrim" to watch fields. Function exists in uiNamespace and doesn't exist in missionNamespace or by name.
Expected behavior:
Functions should exist in missionNamespace.
But all RECOMPILE does is set the recompile token to 1 in CfgFunctions. How, when and if a CfgFunctions function like CBA_fnc_leftTrim is compiled is up to BI and \a3\functions_f\initFunctions.sqf. Idk what to do about that. I'd say you should use PREP().
Mods (complete and add to the following information):
1.98 stable
3.15.1 dev 5c478a099b0954baf1c0b085861978e52847ce9b
Description:
Sometimes you need CBA functions in Eden editor (e.g. in Debug console). Also sometimes RECOMPILE is needed to edit functions while game is running. But when RECOMPILE is defined in
x\cba\addons\main\script_mod.hpp
on game start the functions are not compiled to missionNamespace and can't be used in console by name. They are compiled to uiNamespace only.Also this prevents ACE Arsenal working in Eden editor.
Steps to reproduce:
x\cba\addons\main\script_mod.hpp
;CBA_fnc_leftTrim
,missionNamespace getVariable "CBA_fnc_leftTrim"
,uiNamespace getVariable "CBA_fnc_leftTrim"
to watch fields. Function exists in uiNamespace and doesn't exist in missionNamespace or by name.Expected behavior:
Functions should exist in missionNamespace.
Where did the issue occur?
Log Files:
The text was updated successfully, but these errors were encountered: