2,733
edits
m (→apply_course_distance(): recycle screenshot from Scripted AI Objects (still need to find the original code, which would make for a nice example here, and which should be roughly 12 lines of code ...)) |
Red Leader (talk | contribs) m (→apply_course_distance(): Oops, typo) |
||
Line 276: | Line 276: | ||
[[File:Missiles on a map.png|thumb]] | [[File:Missiles on a map.png|thumb]] | ||
{{Nasal doc | {{Nasal doc | ||
|syntax = geo.Coord. | |syntax = geo.Coord.apply_course_distance(course, dist); | ||
|source = {{fgdata file|Nasal/geo.nas|t=Source}} | |source = {{fgdata file|Nasal/geo.nas|t=Source}} | ||
|text = Calculates a new coordinate from a given course and distancce, and then updates the coordinates to the new set. Returns the <code>geo.Coord</code> instance. | |text = Calculates a new coordinate from a given course and distancce, and then updates the coordinates to the new set. Returns the <code>geo.Coord</code> instance. |