_TASK_POINT_AT_ENTITY
Tasks ped to point at targetEntity for durationMs milliseconds.
Signature
void _TASK_POINT_AT_ENTITY(Ped ped, Entity targetEntity, int durationMs); // 0xF40A109B4B79A848 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetEntity | Entity |
| 3 | durationMs | int |
Facts
| Name | _TASK_POINT_AT_ENTITY |
|---|---|
| Hash | 0xF40A109B4B79A848 |
| 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(0xF40A109B4B79A848, -- _TASK_POINT_AT_ENTITY
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Entity targetEntity
0 -- int durationMs
)Citizen.invokeNative("0xF40A109B4B79A848", // _TASK_POINT_AT_ENTITY
PlayerPedId(), // Ped ped
PlayerPedId(), // Entity targetEntity
0 // int durationMs
);Function.Call((Hash)0xF40A109B4B79A848, // _TASK_POINT_AT_ENTITY
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Entity targetEntity
0 // int durationMs
);Related TASK natives
- 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_FORCE_FIRE_AT_ENTITY_WHILE_AIMING
- TASK_AIM_AT_ENTITY
- TASK_AIM_GUN_AT_ENTITY
- TASK_FOLLOW_ENTITY_ALONG_WAYPOINT_RECORDING_AT_OFFSET
- TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- TASK_LOOK_AT_ENTITY
- TASK_PLACE_CARRIED_ENTITY_AT_COORD
- TASK_SHOOT_AT_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.