Modules/Pathfinding/findNodeAt

From Multi Theft Auto: Wiki
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module Pathfinding. You must install this module to use this function.

This function searches for certain node.

Syntax

int, float, float, float findNodeAt(int graphId, float positionX, float positionY, float positionZ)

Required arguments

  • graphId: The id of the graph
  • positionX, positionY, positionZ: The postion where to search for a node

Returns

Returns 4 integers representing nodeId and his position if a node was found, false otherwise.

Example

See Also

Functions