DCS func getClosestPointOnRoads: Difference between revisions
From DCS World Wiki - Hoggitworld.com
m 1 revision imported |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 13: | Line 13: | ||
|par4= | |par4= | ||
|desc= Returns a coordinate | |desc= Returns the X and Y values of a coordinate on the nearest road from the given point. | ||
NOTE that this function does not use vec2 or vec3. It uses individual values representing a vec2 for x and y. | NOTE that this function does not use vec2 or vec3. It uses individual values representing a vec2 for x and y. | ||
Valid road type values: 'roads' and 'railroads' | |||
|rtnType= number, number | |rtnType= number, number | ||
| Line 52: | Line 54: | ||
}} | }} | ||
[[Category:Singleton Functions|getHeight]] | [[Category:Singleton Functions|getHeight]] | ||
[[Category:Game Patch 2.5.0|getClosestPointOnRoads]] | |||
