Hilite3dButton issue
-
When I use the Hilite3dButton function while writing a script, it only works on buttons but not on toggles, or rotaries in the 3D cockpit.
If the callback description has the word “button” in it, it works. If not, it doesn’t.
Has anybody else had that problem?
The technical manual say they all should work, but I haven’t had any luck. -
Dont see any issues
simple test example and screen of the result
//Delay for freeze WAIT 1 //Start sim in paused mode SimCommand SimMotionFreeze //Text layout setup SetColor 0xffffffff SetTextBoxed 2 SetFont 3 SetTextOrientation 0 SetFlash 0 //Some text SetCursor -0.98 0.08 Print 20 "Welcome Hilite Test mission" SimCommand OTWSelect2DCockpitMode SimCommand OTWViewLeft SimCommand OTWViewLeft SimCommand OTWViewDown SimCommand OTWViewDown Hilite3DButton 20 SimStepIntercomVolumeUp
-
I plugged in your code and it works perfectly!
Not sure what I was doing wrong yet, but at least I know for sure that it works OK.
I’m going to troubleshoot my script, a section at a time, to see where my problem is.
I’ve looked at it so many times, I go blind to my own errors!Huge thanks for the help on this one and the SetFont question!