1
0
Fork 0

currently "tailwheel-lock=true" means 'unlocked', which is

confusing and inconsistent with brake properties (where 1.0
means (b)locked) ==> reverse tailwheel-lock meaning
This commit is contained in:
mfranz 2005-05-10 10:58:28 +00:00
parent 3640023300
commit 019cc557a6
3 changed files with 7 additions and 7 deletions

View file

@ -268,9 +268,9 @@ axis 5: (hat up-down) look u/d Trim Elevator Adj Propeller #
twlock = !getprop("/controls/gear/tailwheel-lock");
setprop("/controls/gear/tailwheel-lock", twlock);
if (twlock) {
gui.popupTip("Tail Wheel UNLOCKED");
} else {
gui.popupTip("Tail Wheel LOCKED");
} else {
gui.popupTip("Tail Wheel UNLOCKED");
}
}
</script>

View file

@ -62,7 +62,7 @@ is pressed, and 3 if both F3 and F4 are pressed.
Note that you have to enclose nasal scripts in <script><![CDATA[...]]></script>
if they contain characters that interfere with the xml markup. This is the case
if you are, for exmaple, using < (lower than). Alternatively, you can 'escape'
if you are, for example, using < (lower than). Alternatively, you can 'escape'
the character with "&lt;".
@ -224,9 +224,9 @@ ________________________________________________________________________________
twlock = !getprop("/controls/gear/tailwheel-lock");
setprop("/controls/gear/tailwheel-lock", twlock);
if (twlock) {
gui.popupTip("Tail Wheel UNLOCKED");
} else {
gui.popupTip("Tail Wheel LOCKED");
} else {
gui.popupTip("Tail Wheel UNLOCKED");
}
} elsif (mod == 2) {
setprop("/sim/current-view/view-number", 0);

View file

@ -294,9 +294,9 @@ ________________________________________________________________________________
twlock = !getprop("/controls/gear/tailwheel-lock");
setprop("/controls/gear/tailwheel-lock", twlock);
if (twlock) {
gui.popupTip("Tail Wheel UNLOCKED");
} else {
gui.popupTip("Tail Wheel LOCKED");
} else {
gui.popupTip("Tail Wheel UNLOCKED");
}
} elsif (mod == 2) {
setprop("/sim/current-view/view-number", 0);