| Property | Value |
|---|---|
| Native Name | GET_CLOSEST_VEHICLE_NODE_WITH_HEADING |
| Hash | 0xFF071FB798B803B0 |
| Return Type | BOOL |
| Parameters | x (float), y (float), z (float), outPosition (Vector3*), outHeading (float*), nodeFlags (int), zMeasureMult (float), zTolerance (int) |
Description: Same as GET_CLOSEST_VEHICLE_NODE, but with the node flag GCNF_GET_HEADING set, causing the native to also return the heading.
Parameters
x(float) — X coordinatey(float) — Y coordinatez(float) — Z coordinateoutPosition(Vector3*) — Pointer to the found nodes coordsoutHeading(float*) — Pointer to the found nodes headingnodeFlags(int) — Node flags, seeGET_CLOSEST_VEHICLE_NODEzMeasureMult(float) — How strongly the difference in the Z direction should be weightedzTolerance(int) — How far apart the Z coords have to be beforezMeasureMultkicks in