TASK_FOLLOW_WAYPOINT_RECORDING
Tasks ped to follow the waypoint recording waypointRecording from startIndex, with flags controlling playback.
Load the recording first with REQUEST_WAYPOINT_RECORDING.
Signature
void TASK_FOLLOW_WAYPOINT_RECORDING(Ped ped, const char* waypointRecording, int startIndex, int flags, int endIndex, BOOL patrol, BOOL aimWeapon, int durationMs); // 0x0759591819534F7B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | waypointRecording | const char* |
| 3 | startIndex | int |
| 4 | flags | int |
| 5 | endIndex | int |
| 6 | patrol | BOOL |
| 7 | aimWeapon | BOOL |
| 8 | durationMs | int |
Facts
| Name | TASK_FOLLOW_WAYPOINT_RECORDING |
|---|---|
| Hash | 0x0759591819534F7B |
| 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(0x0759591819534F7B, -- TASK_FOLLOW_WAYPOINT_RECORDING
PlayerPedId(), -- Ped ped
"text", -- const char* waypointRecording
0, -- int startIndex
0, -- int flags
0, -- int endIndex
false, -- BOOL patrol
false, -- BOOL aimWeapon
0 -- int durationMs
)Citizen.invokeNative("0x0759591819534F7B", // TASK_FOLLOW_WAYPOINT_RECORDING
PlayerPedId(), // Ped ped
"text", // const char* waypointRecording
0, // int startIndex
0, // int flags
0, // int endIndex
false, // BOOL patrol
false, // BOOL aimWeapon
0 // int durationMs
);Function.Call((Hash)0x0759591819534F7B, // TASK_FOLLOW_WAYPOINT_RECORDING
API.PlayerPedId(), // Ped ped
"text", // const char* waypointRecording
0, // int startIndex
0, // int flags
0, // int endIndex
false, // BOOL patrol
false, // BOOL aimWeapon
0 // int durationMs
);Related TASK natives
- TASK_FOLLOW_WAYPOINT_RECORDING_ADVANCED
- TASK_FOLLOW_WAYPOINT_RECORDING_AT_OFFSET
- TASK_FOLLOW_ENTITY_ALONG_WAYPOINT_RECORDING_AT_OFFSET
- TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
- _TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING_2
- TASK_FOLLOW_AND_CONVERSE_WITH_PED
- TASK_FOLLOW_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_FOLLOW_NAV_MESH_TO_COORD
- TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
- TASK_FOLLOW_PAVEMENT_TO_COORD
- TASK_FOLLOW_POINT_ROUTE
- TASK_FOLLOW_TO_OFFSET_OF_COORD
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.