BOOL GET_CLOSEST_MAJOR_VEHICLE_NODE(float x, float y, float z, Vector3* outPosition, float zMeasureMult, int zTolerance);
| Property |
Value |
| Native Name |
GET_CLOSEST_MAJOR_VEHICLE_NODE |
| Hash |
0x2EABE3B06F58C1BE |
| Return Type |
BOOL |
| Parameters |
x (float), y (float), z (float), outPosition (Vector3*), zMeasureMult (float), zTolerance (int) |
Description: Same as GET_CLOSEST_VEHICLE_NODE, but with the node flag GCNF_INCLUDE_SWITCHED_OFF_NODES set.
Parameters
x (float) — X coordinate
y (float) — Y coordinate
z (float) — Z coordinate
outPosition (Vector3*) — Pointer to the found nodes coords
zMeasureMult (float) — How strongly the difference in the Z direction should be weighted
zTolerance (int) — How far apart the Z coords have to be before zMeasureMult kicks in
Back to PATHFIND