TASK_LOOK_AT_ENTITY
param3: duration in ms, use -1 to look forever param4: using 2048 is fine param5: using 3 is fine
TASKBuild 1207
Signature
lua
TaskLookAtEntity(PlayerPedId(), lookAtTarget, 0, 0, 0, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Entity | — | |
| int | — | |
| int | — | |
| int | — | |
| int | — |
Usage
lua
TaskLookAtEntity(PlayerPedId(), lookAtTarget, 0, 0, 0, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
