TASK GO TO COORD WHILE AIMING

From GTAMods Wiki
Revision as of 04:54, 16 February 2012 by MulleDK19 (talk | contribs) (Fixed typo)
Jump to navigation Jump to search
TASK_GO_TO_COORD_WHILE_AIMING
Number of parameters: 12
Parameter #TypeDescription
1.handleChar to do the task
2.floatX Coordinate to go to
3.floatY Coordinate to go to
4.floatZ Coordinate to go to
5.integerAiming move type
6.integerUnknown
7.integerUnknown
8.integerUnknown
9.floatX Coordinate to aim at while moving
10.floatY Coordinate to aim at while moving
11.floatZ Coordinate to aim at while moving
12.integerUnknown
Return value:
TypeDescription
None

Makes the specified char go to the specified coordinates, using the specified move type, while aiming at the specified aiming coordinates.

If P8 is 2, and aiming position is not specified, the char seems to just stand.

Use 0 for unknown parameters.


Known Aiming Move Types

Integer Description
0 Seems to do nothing.
1 Same as 0.
2 Walk.
3 Run. Seems to run in a straight line avoiding obstacles when encountered.
4 Run. Seems to avoid obstacles in a curve.