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

Changes

Jump to navigation Jump to search
Line 39: Line 39:  
     |author=<nowiki>Hooray</nowiki>
 
     |author=<nowiki>Hooray</nowiki>
 
     |date=<nowiki>Thu Aug 29</nowiki>
 
     |date=<nowiki>Thu Aug 29</nowiki>
 +
  }}
 +
}}
 +
 +
{{FGCquote
 +
  |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/>
 +
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.
 +
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=103863&sid=287f5e97edb454a41f517f8c4d2eb7f3#p103863
 +
    |title=<nowiki>Re: Working with AI/Multiplayer properties</nowiki>
 +
    |author=<nowiki>Hooray</nowiki>
 +
    |date=<nowiki>Mon Nov 29</nowiki>
 
   }}
 
   }}
 
}}
 
}}

Navigation menu