Log In
Sign Up
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

#TypeNameNotes
0Pedped –
1Entityentity –
2Vector3offset –
3floatmoveBlendRatio RDR3 says int, but the game reads it as a float.
4inttimeBeforeTeleport –
5intp7 –

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);

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.