Open InsaneDruid opened 6 years ago
I am no longer adding features to RPM. I will accept a pull request if someone wants to write it, but I would suggest you take a look at my Avionics Systems mod, which is far more flexible than RPM (KSP Forum thread over here).
Currently, a JSIActionGroupSwitch can only be disabled using a variable (via masterVariableName). Unfortunately, this also force-switches the switch off.
Being able to activate (switch on) a _JSIActionGroupSwitc_h (and thus Action handlers, too) could provide useful and needed functionality for:
Building Switches consisting of independent ON and OFF Buttons (This can be faked with one big collider spanning over both switches but functionality is weird that for example cklikcing the off button can switch the function on etc.)
Building Input Arrays where a function is called by activating a row and a column key.
Using rotaty switches with more than one position to switch multiple actions with it.
Switching on actions by default. (For instance, I'd like to trigger ButtonEnableLandingPrediction on by a Variable.)
In general, combining JSINumericInput with JSIActionGroupSwitch.