-
Notifications
You must be signed in to change notification settings - Fork 736
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
3DEN - ACE_Settings Display #3563
Conversation
@@ -15,4 +15,50 @@ GVAR(serverSideValues) = []; | |||
GVAR(categories) = []; | |||
GVAR(currentCategorySelection) = 0; | |||
|
|||
recomp = { |
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.
Any reason we use recomp
without a prefix?
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 is just for development, recompiles all funcs before opening menu.
Makes testing very fast.
Will remove when PR is ready.
That looks amazing |
👏👏👏 |
Impressive! 👍 |
Should be good to review now, still want to move some settings to categories/subCategories, but that can be done on another PR |
@@ -15,4 +15,55 @@ GVAR(serverSideValues) = []; | |||
GVAR(categories) = []; | |||
GVAR(currentCategorySelection) = 0; | |||
|
|||
|
|||
[] spawn { | |||
sleep 0.1; //is3den command has problems at pre-init, need spawn/sleep |
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.
Any reason we don't run this at post-init is pre-init has issues?
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.
Never mind - I just read the comment on line 24.
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.
what about execNextFrame?
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.
execNextFrame is installed in postInit
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.
A lot of things are done on postinit. Doesn't that mean all these are now broken in 3den?
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.
postInit does fire when you press preview
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.
If that is the case - why are we doing a spawn here? Is this comment false:
//Post-init won't run in 3den, so we need to directly call some settings funcs normally run at common: post-init
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.
by "in 3den" he means while placing objects. postInit will fire once you press "preview", but not while you actually are in the editor.
@commy2 would you be able to give some input? This might be something for CBA settings framework perhaps? |
Leaving this open until we decide whatever or not we commit to using the CBA settings framework. If we do, this PR should be closed. Otherwise, it is good to go in. |
Redundant with move to CBA Settings. |
When merged this pull request will:
This adds another source of ace_settings, they should be loaded after mission config (description.ext) but before modules. Any setting set, will be forced set.
ToDo:
subCategory = "#hide";