Difference between revisions of "TASK FOLLOW NAV MESH TO COORD NO STOP"
Jump to navigation
Jump to search
AngryAmoeba (talk | contribs) (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 = | + | |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 | + | |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 = | + | |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
Number of parameters: 7 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | Ped handle |
2. | float | X coordinate |
3. | float | Y coordinate |
4. | float | Z coordinate |
5. | integer | Movement type (2 = walk, 3 = jog, 4 = run) |
6. | float | Unknown (seems to be -2) |
7. | float | Radius of point |
Return value: | ||
Type | Description | |
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