Difference between revisions of "TASK FOLLOW NAV MESH TO COORD NO STOP"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Native |np = 7 |p1t = integer |p1d = Char handle |p2t = float |p2d = X coordinate |p3t = float |p3d = Y coordinate |p4t = float |p4d …')
 
 
Line 2: Line 2:
 
|np      = 7
 
|np      = 7
 
|p1t      = integer
 
|p1t      = integer
|p1d      = Char handle
+
|p1d      = Ped handle
 
|p2t      = float
 
|p2t      = float
 
|p2d      = X coordinate
 
|p2d      = X coordinate
Line 10: Line 10:
 
|p4d      = Z coordinate
 
|p4d      = Z coordinate
 
|p5t      = integer
 
|p5t      = integer
|p5d      = Movement speed (2 = walk, 3 = jog, 4 = run)
+
|p5d      = Movement type (2 = walk, 3 = jog, 4 = run)
 
|p6t      = float
 
|p6t      = float
|p6d      = Unknown
+
|p6d      = Unknown (seems to be -2)
 
|p7t      = float
 
|p7t      = float
|p7d      = Unknown
+
|p7d      = Radius of point
 
}}
 
}}
 +
 +
Similar to [[TASK_FOLLOW_NAV_MESH_TO_COORD]] but makes follow to point non stop.<br/>
 +
'''Parameter 7''' is a radius of point (p2,p3,p4) (-1 makes ped (p1) follow ''straight at point'')
 +
----
 +
 +
See also [[TASK_FOLLOW_NAV_MESH_AND_SLIDE_TO_COORD]] for combine ..FOLLOW_NAV_MESH.. and .. [[TASK_CHAR_SLIDE_TO_COORD|SLIDE_TO_COORD]]

Latest revision as of 03:51, 21 March 2015

TASK_FOLLOW_NAV_MESH_TO_COORD_NO_STOP
Number of parameters: 7
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
Return value:
TypeDescription
None

Similar to TASK_FOLLOW_NAV_MESH_TO_COORD but makes follow to point non stop.
Parameter 7 is a radius of point (p2,p3,p4) (-1 makes ped (p1) follow straight at point)


See also TASK_FOLLOW_NAV_MESH_AND_SLIDE_TO_COORD for combine ..FOLLOW_NAV_MESH.. and .. SLIDE_TO_COORD