-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XEH - Fix CBA fncs not available in editor when using RECOMPILE macro #1337
base: master
Are you sure you want to change the base?
Conversation
{ | ||
private _fncName = format ["CBA_fnc_%1", configName _x]; | ||
_fncName call BIS_fnc_recompile; | ||
} forEach (configProperties [_x]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before you change this, can this config or the super config contain any other tokens besides classes? Looks like it according to https://community.bistudio.com/wiki/Arma_3_Functions_Library. Though we likely not make use of them.
But this only works when setting the macro in the actual CBA header files and then building cba_main, not when editing some addon? I really don't see the point of this. |
Just tested. Works as expected, CBA functions present, ACE Arsenal works. |
Why do you uncomment RECOMPILE in cba_main in the first place though? |
Because I want to patch some CBA function and if I understand correctly RECOMPILE works only on game start. |
Patch for what? |
Patch to modify function, add something, maybe fix some bug, maybe just test/debug. Usual development. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should remove all CfgFunctions with PREPMAIN instead.
XEH - Fix CBA fncs not available in editor when using RECOMPILE macro
(DEV Only)