Log In
Sign Up
RDR3 match

ENTITY::APPLY_FORCE_TO_ENTITY

0xCCC0F63B0EA170A2 ·RVA 0x03C05850

Signature

void APPLY_FORCE_TO_ENTITY(
    Entity entity,
    int forceFlags,
    Vector3 pos,
    Vector3 offset,
    int boneIndex,
    BOOL isDirectionRel,
    BOOL ignoreUpVec,
    BOOL isForceRel,
    BOOL p12,
    BOOL p13
);

The scripts pass 13 values to this native; the decoded signature lists 10 (arguments the game doesn't read are left out).

Parameters 10

#TypeNameNotes
0Entityentity –
1intforceFlags –
2Vector3pos –
3Vector3offset –
4intboneIndex –
5BOOLisDirectionRel –
6BOOLignoreUpVec –
7BOOLisForceRel –
8BOOLp12 –
9BOOLp13 –

Returns

void Nothing.

Call it

// ENTITY::APPLY_FORCE_TO_ENTITY
invoke<Void>(0xCCC0F63B0EA170A2, entity, forceFlags, pos, offset, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);

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.