Melchior FRANZ
> Better make that ...
>
> setlistener("/gear/launchbar/state", func(n) {
> setprop("/fdm/jsbsim/launchbar/launch-bar-state", n.getValue() ==
> "Engaged");
> }, 0, 0);
>
> ... because I seem to remember that the property is written to
> quite frequently (also a bug, if you ask me), and the second
> 0 makes sure that the listener function is only triggered
> when the property value actually changed. Trickier now! :-)
>
You need to pass the launchbar state over mp? The property is exposed so
that you can see what you are doing when you are trying to engage the cat.
Surely it's launchbar position that needs to be on mp?
Vivian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel