Skip to main content

TASK_HELI_MISSION

Game.TaskHeliMissionHash0x0F227D5A
Usage
Game.TaskHeliMission(charIndex, carIndex, targetCarIndex, targetCharIndex, x, y, z, mission, cruiseSpeed, targetReachedDist, heliOrientation, flightHeight, minHeightAboveTerrain)

Gives the heli a mission.

Parameters

  • charIndexintegerint
  • carIndexintegerint
  • targetCarIndexintegerint
  • targetCharIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • missionintegerint
  • cruiseSpeednumberfloat
  • targetReachedDistintegerint
  • heliOrientationnumberfloat
  • flightHeightintegerint
  • minHeightAboveTerrainintegerint

Returns

Nothing

Original declaration
// 0x0F227D5A
void TASK_HELI_MISSION(int charIndex, int carIndex, int targetCarIndex, int targetCharIndex, float x, float y, float z, int mission, float cruiseSpeed, int targetReachedDist, float heliOrientation, int flightHeight, int minHeightAboveTerrain);