Hi Melchior,
Melchior FRANZ schrieb am 08.12.2007 17:08:
> * Melchior FRANZ -- Saturday 08 December 2007:
>   
>> it was time to add some generic properties for "internal communication".
>>     
>
> It's probably also time to remind people again of the possibility to
> add Nasal code to model (animation) XML files. This is then only
> run when the model is used as as a static scenery model or an MP
> model, but not for the instance that you are actively flying on your
> machine. Such code can evaluate generic properties and modify them,
> and/or move them where they belong. In the MP case, cmdarg() can be
> used to access the model's node under /ai/models/. Example:
>
>   <nasal>
>       <load>print("I was just loaded under ", cmdarg().getPath())</load>
>       <unload>print("Good Bye says ", cmdarg().getPath())</unload>
>   </nasal>
>
>   

Ah, very good! With this trick I should be able to transfer the 
wing-fold and engine-tilt animation of the v22 over the MP-protocol. 
Thank You!

Maik

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to