TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY
Tells the ped to go to an offset coord from an entity, without using the navmesh. if timeBeforeTeleport is -1 the ped will never warp, p7 is 1 or 0 still unknown param
TASKBuild 1207
Signature
lua
TaskGoStraightToCoordRelativeToEntity(PlayerPedId(), entity, 0.0, 0.0, 0.0, 0, 0, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Entity | — | |
| float | — | |
| float | — | |
| float | — | |
| int | — | |
| int | — | |
| int | — |
Usage
lua
TaskGoStraightToCoordRelativeToEntity(PlayerPedId(), entity, 0.0, 0.0, 0.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
