16
SCI Syntax Help / Re: SCI0 - Menubar with changing options
« on: October 07, 2022, 01:51:31 PM »
That's brilliant in that it does what I wanted most - the "greyed out" part...that said, I'm still not getting it to become usable when I change the variable...
This is what I am doing
This is what I am doing
Code: [Select]
(AddMenu
{ Character -}
{Ask About`^a:Retype`#3:--!:Inventory`^I:Death Log`^d:Notes`^n:Switch`^x}
)
(if gSwitchingAllowed
(SetMenu MENU_SWITCH 112 1)
else
(SetMenu MENU_SWITCH 112 0)
)