Difference between revisions of "TASK GO TO COORD WHILE AIMING"

From GTAMods Wiki
Jump to navigation Jump to search
(Added page)
 
m (Fixed typo)
Line 30: Line 30:
 
Makes the specified char go to the specified coordinates, using the specified move type, while aiming at the specified aiming coordinates.
 
Makes the specified char go to the specified coordinates, using the specified move type, while aiming at the specified aiming coordinates.
  
If P6 is 2, and aiming position is not specified, the char seems to just stand.
+
If P8 is 2, and aiming position is not specified, the char seems to just stand.
  
 
Use 0 for unknown parameters.
 
Use 0 for unknown parameters.

Revision as of 04:54, 16 February 2012

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.