Game code
TASK::TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
0x1FBF2ED19E1C9F48 ·RVA 0x044C5B20
Signature
void TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY(
Ped ped,
Entity entity,
Vector3 offset,
float moveBlendRatio,
int timeBeforeTeleport,
int p7
);
The scripts pass 9 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Entity | entity |
– |
| 2 | Vector3 | offset |
– |
| 3 | float | moveBlendRatio |
RDR3 says int, but the game reads it as a float. |
| 4 | int | timeBeforeTeleport |
– |
| 5 | int | p7 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// TASK::TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
invoke<Void>(0x1FBF2ED19E1C9F48, ped, entity, offset, moveBlendRatio, timeBeforeTeleport, p7);// TASK::TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
Function.Call((Hash)0x1FBF2ED19E1C9F48, ped, entity, offset, moveBlendRatio, timeBeforeTeleport, p7);-- TASK::TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
Citizen.InvokeNative(0x1FBF2ED19E1C9F48, ped, entity, offset, moveBlendRatio, timeBeforeTeleport, p7)// TASK::TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
Citizen.invokeNative("0x1FBF2ED19E1C9F48", ped, entity, offset, moveBlendRatio, timeBeforeTeleport, p7);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.