Pathfind::getNthClosestVehicleNodeWithHeading

From RAGE Multiplayer Wiki
Revision as of 21:28, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get the nth closest vehicle node and its heading. (unknown2 = 9, unknown3 = 3.0, unknown4 = 2.5)

Syntax

mp.game.pathfind.getNthClosestVehicleNodeWithHeading(x, y, z, nthClosest, outPosition, heading, unknown1, unknown2, unknown3, unknown4);

Required Arguments

  • x: float
  • y: float
  • z: float
  • nthClosest: int
  • outPosition: Vector3
  • heading: float
  • unknown1: unknown (to be checked)
  • unknown2: int
  • unknown3: float
  • unknown4: float

Return value

  • object: outPosition, heading, unknown1, , ,

Example

// todo

See also

Template:Pathfind s function c