RDR3 match
ENTITY::SET_ENTITY_ROTATION
0x0121BBE16337CEB2 ·RVA 0x03C14D00
Signature
void SET_ENTITY_ROTATION(
Entity entity,
Vector3 rotation,
int rotationOrder,
BOOL p5
);
The scripts pass 6 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Vector3 | rotation |
– |
| 2 | int | rotationOrder |
– |
| 3 | BOOL | p5 |
– |
Returns
void Nothing.
Notes
- pitch, roll and yaw in RDR3 are one Vector3 in GTA VI.
Call it
// ENTITY::SET_ENTITY_ROTATION
invoke<Void>(0x0121BBE16337CEB2, entity, rotation, rotationOrder, p5);// ENTITY::SET_ENTITY_ROTATION
Function.Call((Hash)0x0121BBE16337CEB2, entity, rotation, rotationOrder, p5);-- ENTITY::SET_ENTITY_ROTATION
Citizen.InvokeNative(0x0121BBE16337CEB2, entity, rotation, rotationOrder, p5)// ENTITY::SET_ENTITY_ROTATION
Citizen.invokeNative("0x0121BBE16337CEB2", entity, rotation, rotationOrder, p5);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.