I've created a new setting that is stored in a new variable. I have declared the variable like so:
This all seems to work as I set the new setting in a setup screen and seems to stay set after a reboot. My next step is I want to use this variable to control whether something is displayed or not. I looked at vFullScreenCockpit as an example and it seemed to be used as ui.vFullScreenCockpit in the visiblemodel clause.
I tired this with my variable i.e. ui.var_name in navigatemap_800_480 but it just hung on bootup. Should I be able to do this as I have declared my variable with the registermodel option? If so do I reference it with the ui. in front?
Anyone know?