From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Ped pilot should be in a heli.
EntityToFollow can be a vehicle or player.

x,y,z appear to be how close to the EntityToFollow the heli should be. Scripts use 0.0, 0.0, 80.0. Then the heli tries to position itself 80 units above the EntityToFollow. If you reduce it to -5.0, it tries to go below (if the EntityToFollow is a heli or plane)

NOTE: If the pilot finds enemies, it will engage them, then remain there idle, not continuing to chase the Entity given.


player.taskHeliChase(entityToFollow, x, y, z);

Required Arguments

  • entityToFollow: Entity handle or object
  • x: float
  • y: float
  • z: float

Return value

  • Undefined


// todo

See also