I’m writing a training script and for some reason, I can’t get the ‘HiLite3DButton <time><command></command>’ function to work with knobs, toggle or rotary switches.
The Technical manual says,
“This function will draw two circles around a function in the cockpit (knob, button, rotary etc.) specified by <command></command>for the duration of <time>.”
It works perfectly with an actual “push-button”, (ie. ICP button) but nothing else.
It seems that if the UI description of the key file callback name says “button”, it will work, but otherwise it won’t.
In every case, I have the 3D cockpit view with the appropriate switch or knob visible on the screen, but I get no circles around them.
For example,
HiLite3DButton 10 SimProbeHeatOn
HiLite3DButton 10 SimFuelPumpNorm
HiLite3DButton 10 SimILSUp
don’t work for me,
but these work perfectly…
HiLite3DButton 10 SimRwrPowerOn
HiLite3DButton 10 SimICPAG
If I could get this working, it would save a huge amount of time over the tedious “SetCursor <float (x)=”“><float (y)=”“>” function.
Has anybody else had this problem?
If not, does anybody have a clue as to why this doesn’t work?
Does the Technical manual need to clarify that it only works for buttons and nothing else?
It would be great if it could point to all the ‘hot spots’ in the 3D cockpit and have the circle sizes adjustable.</float></float></time></time>