TASK_PLAY_UPPER_ANIM_FACING_ENTITY
Plays the upper-body animation animName on ped while it faces entity.
Signature
void TASK_PLAY_UPPER_ANIM_FACING_ENTITY(Ped ped, const char* animDict, const char* animName, Entity entity, int p4, float p5, float p6, int p7, float p8, BOOL p9, BOOL p10, float p11, const char* p12, int p13, float p14); // 0xAD67214236AB1CFE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animDict | const char* |
| 3 | animName | const char* |
| 4 | entity | Entity |
| 5 | p4 | int |
| 6 | p5 | float |
| 7 | p6 | float |
| 8 | p7 | int |
| 9 | p8 | float |
| 10 | p9 | BOOL |
| 11 | p10 | BOOL |
| 12 | p11 | float |
| 13 | p12 | const char* |
| 14 | p13 | int |
| 15 | p14 | float |
Facts
| Name | TASK_PLAY_UPPER_ANIM_FACING_ENTITY |
|---|---|
| Hash | 0xAD67214236AB1CFE |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xAD67214236AB1CFE, -- TASK_PLAY_UPPER_ANIM_FACING_ENTITY
PlayerPedId(), -- Ped ped
"text", -- const char* animDict
"text", -- const char* animName
PlayerPedId(), -- Entity entity
0, -- int p4
0.0, -- float p5
0.0, -- float p6
0, -- int p7
0.0, -- float p8
false, -- BOOL p9
false, -- BOOL p10
0.0, -- float p11
"text", -- const char* p12
0, -- int p13
0.0 -- float p14
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xAD67214236AB1CFE", // TASK_PLAY_UPPER_ANIM_FACING_ENTITY
PlayerPedId(), // Ped ped
"text", // const char* animDict
"text", // const char* animName
PlayerPedId(), // Entity entity
0, // int p4
0.0, // float p5
0.0, // float p6
0, // int p7
0.0, // float p8
false, // BOOL p9
false, // BOOL p10
0.0, // float p11
"text", // const char* p12
0, // int p13
0.0 // float p14
);Function.Call((Hash)0xAD67214236AB1CFE, // TASK_PLAY_UPPER_ANIM_FACING_ENTITY
API.PlayerPedId(), // Ped ped
"text", // const char* animDict
"text", // const char* animName
API.PlayerPedId(), // Entity entity
0, // int p4
0.0f, // float p5
0.0f, // float p6
0, // int p7
0.0f, // float p8
false, // BOOL p9
false, // BOOL p10
0.0f, // float p11
"text", // const char* p12
0, // int p13
0.0f // float p14
);Related TASK natives
- TASK_PLAY_ANIM
- TASK_PLAY_ANIM_ADVANCED
- TASK_FOLLOW_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- TASK_PLAY_EMOTE_WITH_HASH
- PLAY_ENTITY_SCRIPTED_ANIM
- TASK_PLACE_CARRIED_ENTITY_AT_COORD
- TASK_PLACE_CARRIED_ENTITY_ON_MOUNT
- TASK_PICKUP_CARRIABLE_ENTITY
- TASK_AIM_AT_ENTITY
- TASK_AIM_GUN_AT_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.