taskPlaneGotoPreciseVtol
TASK_PLANE_GOTO_PRECISE_VTOL0xF7F9DCCA89E7505BThe GTA V native TASK_PLANE_GOTO_PRECISE_VTOL of the TASK namespace, as LS:MP client scripts call it: the global function taskPlaneGotoPreciseVtol, in JavaScript and in Lua.
taskPlaneGotoPreciseVtol(
ped: Ped,
vehicle: Vehicle,
x: number,
y: number,
z: number,
flightHeight: number,
minHeightAboveTerrain: number,
useDesiredOrientation: boolean,
desiredOrientation: number,
autopilot: boolean
): voidtaskPlaneGotoPreciseVtol(
ped: Ped,
vehicle: Vehicle,
x: number,
y: number,
z: number,
flightHeight: integer,
minHeightAboveTerrain: integer,
useDesiredOrientation: boolean,
desiredOrientation: number,
autopilot: boolean
)Usage
JavaScript
taskPlaneGotoPreciseVtol(
ped, vehicle, x, y, z, flightHeight, minHeightAboveTerrain, useDesiredOrientation,
desiredOrientation, autopilot
);Lua
taskPlaneGotoPreciseVtol(
ped, vehicle, x, y, z, flightHeight, minHeightAboveTerrain, useDesiredOrientation,
desiredOrientation, autopilot
)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
taskPlaneGotoPreciseVtol(
ped, vehicle, pos, flightHeight, minHeightAboveTerrain, useDesiredOrientation,
desiredOrientation, autopilot
);Lua · with vectors
taskPlaneGotoPreciseVtol(
ped, vehicle, pos, flightHeight, minHeightAboveTerrain, useDesiredOrientation,
desiredOrientation, autopilot
)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
vehicle | Vehicle | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
flightHeight | int | number | integer |
minHeightAboveTerrain | int | number | integer |
useDesiredOrientation | BOOL | boolean | boolean |
desiredOrientation | float | number | number |
autopilot | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_PLANE_GOTO_PRECISE_VTOL(Ped ped, Vehicle vehicle, float x, float y, float z, int flightHeight, int minHeightAboveTerrain, BOOL useDesiredOrientation, float desiredOrientation, BOOL autopilot)- Hash
0xF7F9DCCA89E7505B- Introduced
- Game build 1290 legacy numbering