-
Notifications
You must be signed in to change notification settings - Fork 148
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
add optional pbo to load settings from userconfig file #450
add optional pbo to load settings from userconfig file #450
Conversation
ADDON = false; | ||
|
||
// frame after preInit, but before postInit | ||
0 spawn { |
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.
Maybe it would be safer and cleaner to have cba launch an event when preInit finishes
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.
This looks about as safe and clean as it gets - only depends on directCall
.
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.
I would've used CBA_fnc_execNextFrame
, but the EachFrame
handler that does that is installed at postInit - many frames after preInit.
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.
It's a long shot, but maybe some other mod could conceivably clog the scheduler during preinit, preventing this from running before postInit.
@commy2 - this still has no effect on dedicated
|
It's I'll see about that temp namespace issue. |
userconfig\cba\settings.sqf