NAVMESH_REQUEST_PATH
Starts a nav mesh query for a path between coordinates with a given ped and returns a handle to be validated by _NAVMESH_REQUESTED_QUERY_STATUS and then _NAVMESH_REQUESTED_PATH_WAYPOINTS_FOUND Only bit flag values used in scripts are 0, 23, and 29. 23 is used with dogs and horses. 29 with legendary animals.
PATHFINDBuild 1207
Signature
lua
NavmeshRequestPath(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| int | — |
Usage
lua
NavmeshRequestPath(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
