That is very interesting!
Since I wanted the Raise/Lower SD Antenna (toggle_snorkel) button to behave like the periscope button, I tried to edit commands used by the periscope:
"Button4CommandToCheckIfIsChecked=Is_ObservationPeriscope_risen_at_all" was edited to "Button6CommandToCheckIfIsChecked=Is_snorkel_risen_at_all" in OrdersBar.cfg.
I tried all the lock commands from the cfg file: Is_snorkel_risen_at_all, Is_snorkel_moving, Is_snorkel_active, Is_snorkel_on...
Apparently, one cannot simply edit the ordersbar.cg to create a new set of conditions to check.
skwasjer where did you locate that list of commands?1?
Are the commands editable?
All I'm trying to do is have the menu button switch from inactive to active when the antenna is raised. It seemed like a good idea at the time...
__________________
|