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

From GTAMods Wiki
Jump to navigation Jump to search
m (Fixed typo)
(Updated information on parameter 8.)
 
Line 16: Line 16:
 
|p7d=Unknown
 
|p7d=Unknown
 
|p8t=integer
 
|p8t=integer
|p8d=Unknown
+
|p8d=Aiming target type
 
|p9t=float
 
|p9t=float
 
|p9d=X Coordinate to aim at while moving
 
|p9d=X Coordinate to aim at while moving
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 P8 is 2, and aiming position is not specified, the char seems to just stand.
+
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.
 
Use 0 for unknown parameters.

Latest revision as of 05:42, 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.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.