Vector3 _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX(`path` (int), `waypointIndex` (int));
Description: Returns a vector3 waypoint at the specified index for a path. Use _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS to get available indexes.
| Property |
Value |
| Native Name |
_NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX |
| Hash |
0x430F8319AE56C8A9 |
| Return Type |
Vector3 |
| Build |
1207 |
| Parameters |
path (int), waypointIndex (int) |
Parameters
path (int)
waypointIndex (int)
Usage
Lua (Direct):
local result = NavmeshRequestedPathWaypointByIndex(path, waypointIndex)
Lua (Hash):
local result = Citizen.InvokeNative(0x430F8319AE56C8A9, path, waypointIndex)
Back to PATHFIND