You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very nice if you could sub {dataref} [int] could define. Then you would directly get the value for this array element back.
Currently:
sub sim/cockpit2/switches/generic_lights_switch
set sim/cockpit2/switches/generic_lights_switch [,,,,,1]
ufa sim/cockpit2/switches/generic_lights_switch [1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
Super would be, i.g. also:
sub sim/cockpit2/switches/generic_lights_switch [5]
set sim/cockpit2/switches/generic_lights_switch [,,,,,1]
uf sim/cockpit2/switches/generic_lights_switch 1.0
i cant find a method to get one value from an array. Or have i missed a post?
Regards
Horst
The text was updated successfully, but these errors were encountered: