Player::taskHeliMission

From RAGE Multiplayer Wiki
Revision as of 16:12, 23 May 2020 by Unknown (talk | contribs)

Client-Side
Function

 JavaScript




JavaScript Syntax

Syntax

player.taskHeliMission(vehicle, p2, pedToFollow, posX, posY, posZ, mode, speed, radius, angle, p11, height, p13, p14);

Modes

  • 4 (Heads to the destination)
  • 8 (Flee from player)
  • 9 (Circle around the destination)
  • 10 (Take same target's heading)
  • 20 (Lands the heli. on the destination)
  • 21 (Crash on the destination)

Required Arguments

  • vehicle: Vehicle handle or object
  • p2: unk
  • pedToFollow: Ped handle or object
  • posX: float
  • posY: float
  • posZ: float
  • mode: int
  • speed: float
  • radius: float
  • angle: float
  • p11: int
  • height: int
  • p13: float
  • landingFlag: int (Flags: 0 Hover over destination, 32 Land on destination, 1024 Crash into destination, 4096 Rush and Hover to destination)

Return value

  • Undefined

Example

// todo


See also