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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | int | forceFlags |
– |
| 2 | Vector3 | pos |
– |
| 3 | Vector3 | offset |
– |
| 4 | int | boneIndex |
– |
| 5 | BOOL | isDirectionRel |
– |
| 6 | BOOL | ignoreUpVec |
– |
| 7 | BOOL | isForceRel |
– |
| 8 | BOOL | p12 |
– |
| 9 | BOOL | p13 |
– |
Returns
void Nothing.
Call it
// ENTITY::APPLY_FORCE_TO_ENTITY
invoke<Void>(0xCCC0F63B0EA170A2, entity, forceFlags, pos, offset, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);// ENTITY::APPLY_FORCE_TO_ENTITY
Function.Call((Hash)0xCCC0F63B0EA170A2, entity, forceFlags, pos, offset, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);-- ENTITY::APPLY_FORCE_TO_ENTITY
Citizen.InvokeNative(0xCCC0F63B0EA170A2, entity, forceFlags, pos, offset, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13)// ENTITY::APPLY_FORCE_TO_ENTITY
Citizen.invokeNative("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.