-
Notifications
You must be signed in to change notification settings - Fork 738
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
Weather - Add variable to temporarily pause wind simulation #9057
Conversation
This would enable mission maker to temporarily disable the execution of setWind every second. Currently, a temporary pause isnt possible.
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.
Modifying a CBA setting at runtime through a script is bad practice and will break with JIPs.
if i see it right, this specific script runs only on the server and will be spawned by an PFeh, but its handle isnt saved anywhere. Is it possible to see a "list" of all currently running perframe-eh-handlers and would there be a way to "find" the right one and removing it temporarily instead? |
We are not going to touch the PFH execution array. However, what can be done more easily (but you'd still need to test it) is to set a "normal" global variable that is publicly available. |
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
only now i saw that this has been addressed and merged, thanks alot! :) |
This would enable mission maker to temporarily disable the execution of setWind every second. Currently, a temporary pause isnt possible.
When merged this pull request will:
adds a check on GVAR(windSimulation) to allow mission makers to (temporarily) disable Wind Simulation mid mission
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.