RDR3 match
ENTITY::APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
0xACCB24C8CE258313 ·RVA 0x03C057C0
Signature
void APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS(
Entity entity,
int forceType,
Vector3 pos,
int component,
BOOL isDirectionRel,
BOOL isForceRel,
BOOL p8
);
The scripts pass 9 values to this native; the decoded signature lists 7 (arguments the game doesn't read are left out).
Parameters 7
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | int | forceType |
– |
| 2 | Vector3 | pos |
– |
| 3 | int | component |
the game doesn't read it. |
| 4 | BOOL | isDirectionRel |
– |
| 5 | BOOL | isForceRel |
– |
| 6 | BOOL | p8 |
– |
Returns
void Nothing.
Call it
// ENTITY::APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
invoke<Void>(0xACCB24C8CE258313, entity, forceType, pos, component, isDirectionRel, isForceRel, p8);// ENTITY::APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
Function.Call((Hash)0xACCB24C8CE258313, entity, forceType, pos, component, isDirectionRel, isForceRel, p8);-- ENTITY::APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
Citizen.InvokeNative(0xACCB24C8CE258313, entity, forceType, pos, component, isDirectionRel, isForceRel, p8)// ENTITY::APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
Citizen.invokeNative("0xACCB24C8CE258313", entity, forceType, pos, component, isDirectionRel, isForceRel, p8);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.