Pathfind::getNthClosestVehicleNodeFavourDirection

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

See gtaforums.com/topic/843561-pathfind-node-types for node type info. 0 = paved road only, 1 = any road, 3 = water

p10 always equal 0x40400000
p11 always equal 0

Syntax

mp.game.pathfind.getNthClosestVehicleNodeFavourDirection(x, y, z, desiredX, desiredY, desiredZ, nthClosest, outPosition, outHeading, nodetype, p10, p11);

Required Arguments

  • x: float
  • y: float
  • z: float
  • desiredX: float
  • desiredY: float
  • desiredZ: float
  • nthClosest: int
  • outPosition: Vector3
  • outHeading: float
  • nodetype: int
  • p10: unknown (to be checked)
  • p11: unknown (to be checked)

Return value

  • object: outPosition, outHeading, , ,

Example

// todo

See also

Template:Pathfind s function c