MediaWiki has been updated to version 1.35.1. Please report any problems here.

Changes

Jump to navigation Jump to search
Switch to {{gitorious source}} and {{gitorious url}} to fix the broken Gitorious links.
Line 98: Line 98:  
{{FGCquote
 
{{FGCquote
 
   |the code to do this is already readily available in FlightGear. <br/>
 
   |the code to do this is already readily available in FlightGear. <br/>
[http://gitorious.org/fg/fgdata/blobs/master/Nasal/tanker.nas $FG_ROOT/tanker.nas] is a good demonstration for code that iterates over the AI properties. <br/>
+
{{gitorious source|fg|fgdata|branch=master|path=Nasal/tanker.nas|pre=$FG_ROOT}} is a good demonstration for code that iterates over the AI properties. <br/>
 
Another good example is the multiplayer pilot list, which also iterates over the property tree.<br/>
 
Another good example is the multiplayer pilot list, which also iterates over the property tree.<br/>
 
You only need to combine snippets from these two files to come up with what you need.
 
You only need to combine snippets from these two files to come up with what you need.
Line 477: Line 477:  
== Controlling the main Airplane ==
 
== Controlling the main Airplane ==
 
{{FGCquote
 
{{FGCquote
   |I'd suggest to get started by looking at the tanker.nas script instead - fox2.nas, the f14b demo and the bombable script are much more sophisticated, while tanker.nas is really pretty simple and straightforward: [https://gitorious.org/fg/fgdata/source/01781f83715d90b6bf2df5c6210f766d0090083d:Nasal/tanker.nas https://gitorious.org/fg/fgdata/source/ ... tanker.nas]
+
   |I'd suggest to get started by looking at the tanker.nas script instead - fox2.nas, the f14b demo and the bombable script are much more sophisticated, while tanker.nas is really pretty simple and straightforward: {{gitorious url|fg|fgdata|commit=01781f83715d90b6bf2df5c6210f766d0090083d|path=Nasal/tanker.nas}}
 
   |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=190358#p190358
 
   |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=190358#p190358
 
     |title=<nowiki>Re: How would I go about controlling an airplane with nasal?</nowiki>
 
     |title=<nowiki>Re: How would I go about controlling an airplane with nasal?</nowiki>

Navigation menu