2,736
edits
Red Leader (talk | contribs) (→tileIndex(): Finish docing) |
Red Leader (talk | contribs) (→tilePath(): Finish docing) |
||
| Line 2,149: | Line 2,149: | ||
=== tilePath() === | === tilePath() === | ||
{{Nasal doc | {{Nasal doc | ||
|syntax = | |syntax = tilePath(); | ||
|source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1712|t=Source}} | |source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1712|t=Source}} | ||
|text = Returns the | |text = Returns the base path of the tile at the aircraft's current position as a string. For example, at KSFO, this would be <code>w130n30/w123n3</code>, corresponding to <tt>''[[$FG_SCENERY]]/Terrain/w130n30/w123n3''</tt>. | ||
|example1 = print( | |example1 = print(tilePath()); # print path | ||
}}<!-- | }}<!-- | ||