TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
Advanced version of TASK_FOLLOW_NAV_MESH_TO_COORD with extra path options.
Signature
void TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED(Ped ped, float x, float y, float z, float speedMultiplier, int timeout, float stoppingRange, int flags, float p8, float p9, float p10, Entity entity, float unk); // 0x17F58B88D085DBAC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | speedMultiplier | float |
| 6 | timeout | int |
| 7 | stoppingRange | float |
| 8 | flags | int |
| 9 | p8 | float |
| 10 | p9 | float |
| 11 | p10 | float |
| 12 | entity | Entity |
| 13 | unk | float |
Facts
| Name | TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED |
|---|---|
| Hash | 0x17F58B88D085DBAC |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x17F58B88D085DBAC, -- TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
PlayerPedId(), -- Ped ped
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float speedMultiplier
0, -- int timeout
0.0, -- float stoppingRange
0, -- int flags
0.0, -- float p8
0.0, -- float p9
0.0, -- float p10
PlayerPedId(), -- Entity entity
0.0 -- float unk
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x17F58B88D085DBAC", // TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
PlayerPedId(), // Ped ped
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float speedMultiplier
0, // int timeout
0.0, // float stoppingRange
0, // int flags
0.0, // float p8
0.0, // float p9
0.0, // float p10
PlayerPedId(), // Entity entity
0.0 // float unk
);Function.Call((Hash)0x17F58B88D085DBAC, // TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
API.PlayerPedId(), // Ped ped
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float speedMultiplier
0, // int timeout
0.0f, // float stoppingRange
0, // int flags
0.0f, // float p8
0.0f, // float p9
0.0f, // float p10
API.PlayerPedId(), // Entity entity
0.0f // float unk
);Related TASK natives
- TASK_FOLLOW_NAV_MESH_TO_COORD
- TASK_FOLLOW_PAVEMENT_TO_COORD
- TASK_FOLLOW_TO_OFFSET_OF_COORD
- TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
- TASK_GO_TO_COORD_AND_AIM_AT_HATED_ENTITIES_NEAR_COORD
- TASK_GO_TO_COORD_AND_AIM_AT_HATED_ENTITIES_NEAR_COORD_USING_COMBAT_STYLE
- TASK_GO_TO_COORD_WHILE_AIMING_AT_COORD
- TASK_GO_TO_COORD_WHILE_AIMING_AT_COORD_USING_COMBAT_STYLE
- TASK_FOLLOW_TO_OFFSET_OF_ENTITY
- TASK_FOLLOW_WAYPOINT_RECORDING_ADVANCED
- TASK_FLY_TO_COORD
- TASK_GO_STRAIGHT_TO_COORD
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.