Difference between revisions of "TASK FOLLOW NAV MESH AND SLIDE TO COORD"

From GTAMods Wiki
Jump to navigation Jump to search
(use wiki markup)
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
 
}}
 
}}
  
Similar to [[TASK_FOLLOW_NAV_MESH_TO_COORD_NO_STOP]] and [[TASK_FOLLOW_NAV_MESH_TO_COORD]], but '''combined''' with [[TASK_CHAR_SLIDE_TO_COORD]]. <br/>
+
Similar to [[TASK_FOLLOW_NAV_MESH_TO_COORD_NO_STOP]] and [[TASK_FOLLOW_NAV_MESH_TO_COORD]], but '''combined''' with [[TASK_CHAR_SLIDE_TO_COORD]].
'''Parameter 7''' is a radius of point (p2,p3,p4) (-1 makes ped (p1) follow ''straight at point'').<br/>
 
'''Parameter 8''' is a heading at the point (p2,p3,p4). ''Also you can use -1 for spin ped clockwise the end-point''<br/>
 
  
----
+
'''Parameter 7''' is a radius of point (p2,p3,p4) (-1 makes ped (p1) follow ''straight at point'').
  
'''Note:''' Ped start to slide at coords when he reach the ''point+radius'' ((p2,p3,p4)+p7)
+
'''Parameter 8''' is a heading at the point (p2,p3,p4). ''Also you can use -1 for spin ped clockwise at the end-point''.
 +
 
 +
==Note==
 +
Ped start to slide at coords when he reach the ''point+radius'' ((p2,p3,p4)+p7)

Latest revision as of 17:38, 22 March 2015

TASK_FOLLOW_NAV_MESH_AND_SLIDE_TO_COORD
Number of parameters: 8
Parameter #TypeDescription
1.integerPed handle
2.floatX coordinate
3.floatY coordinate
4.floatZ coordinate
5.integerMovement type (2 = walk, 3 = jog, 4 = run)
6.floatUnknown (seems to be -2)
7.floatRadius of point
8.floatHeading angle
Return value:
TypeDescription
None

Similar to TASK_FOLLOW_NAV_MESH_TO_COORD_NO_STOP and TASK_FOLLOW_NAV_MESH_TO_COORD, but combined with TASK_CHAR_SLIDE_TO_COORD.

Parameter 7 is a radius of point (p2,p3,p4) (-1 makes ped (p1) follow straight at point).

Parameter 8 is a heading at the point (p2,p3,p4). Also you can use -1 for spin ped clockwise at the end-point.

Note

Ped start to slide at coords when he reach the point+radius ((p2,p3,p4)+p7)