View Single Post
Old 03-18-08, 01:02 AM   #5
Scottb8411
Seaman
 
Join Date: Jul 2007
Location: Hillsboro, OR
Posts: 36
Downloads: 124
Uploads: 0
Default

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...
__________________
Scottb8411 is offline   Reply With Quote