TASK FOLLOW NAV MESH TO COORD NO STOP

From GTAMods Wiki
Revision as of 03:51, 21 March 2015 by FL1K3R (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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