TASK GO TO COORD WHILE AIMING

From GTAMods Wiki
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.integerAiming target type
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, the char will aim at the char specified in P12; Otherwise, it will aim at the target coordinate given in P9, P10 and P11.

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.