Pathfind::getVehicleNodeProperties

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

MulleDK19: Gets the density and flags of the closest node to the specified position.
Density is a value between 0 and 15, indicating how busy the road is.
Flags is a bit field.

Syntax

mp.game.pathfind.getVehicleNodeProperties(x, y, z, density, flags);

Required Arguments

  • x: float
  • y: float
  • z: float
  • density: int
  • flags: int

Return value

  • object: density, flags

Example

// todo

See also

Template:Pathfind s function c