Difference between revisions of "GET CLOSEST CAR NODE"

From GTAMods Wiki
Jump to navigation Jump to search
(Added page)
 
(Added return type)
 
Line 13: Line 13:
 
|p6t    = pointer to float
 
|p6t    = pointer to float
 
|p6d    = Z coordinate of closest node
 
|p6d    = Z coordinate of closest node
|r      = 0
+
|r      = 1
 +
|rt    = bool
 +
|rd    = success?
 
}}
 
}}
  
 
Gets the car node closest to the specified position, and stores the position of the node in the variables pointed to by P4, P5 and P6.
 
Gets the car node closest to the specified position, and stores the position of the node in the variables pointed to by P4, P5 and P6.

Latest revision as of 11:08, 25 June 2012

GET_CLOSEST_CAR_NODE
Number of parameters: 6
Parameter #TypeDescription
1.floatX coordinate
2.floatY coordinate
3.floatZ coordinate
4.pointer to floatX coordinate of closest node
5.pointer to floatY coordinate of closest node
6.pointer to floatZ coordinate of closest node
Return value:
TypeDescription
boolsuccess?

Gets the car node closest to the specified position, and stores the position of the node in the variables pointed to by P4, P5 and P6.