REACT_LOOK_AT
Makes ped look at targetPed in reaction, with intensity and duration settings.
Signature
void REACT_LOOK_AT(Ped ped, Ped targetPed, int lookIntensity, int exitAnimation, float duration, int p5, Ped targetPed2, Any p7, Any p8); // 0xE7FA07624574B79A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetPed | Ped |
| 3 | lookIntensity | int |
| 4 | exitAnimation | int |
| 5 | duration | float |
| 6 | p5 | int |
| 7 | targetPed2 | Ped |
| 8 | p7 | Any |
| 9 | p8 | Any |
Facts
| Name | REACT_LOOK_AT |
|---|---|
| Hash | 0xE7FA07624574B79A |
| 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(0xE7FA07624574B79A, -- REACT_LOOK_AT
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped targetPed
0, -- int lookIntensity
0, -- int exitAnimation
0.0, -- float duration
0, -- int p5
PlayerPedId(), -- Ped targetPed2
0, -- Any p7
0 -- Any p8
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xE7FA07624574B79A", // REACT_LOOK_AT
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped targetPed
0, // int lookIntensity
0, // int exitAnimation
0.0, // float duration
0, // int p5
PlayerPedId(), // Ped targetPed2
0, // Any p7
0 // Any p8
);Function.Call((Hash)0xE7FA07624574B79A, // REACT_LOOK_AT
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped targetPed
0, // int lookIntensity
0, // int exitAnimation
0.0f, // float duration
0, // int p5
API.PlayerPedId(), // Ped targetPed2
0, // Any p7
0 // Any p8
);Related TASK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.