Difference between revisions of "TASK GO TO COORD WHILE AIMING"
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= | + | |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, | + | 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
Number of parameters: 12 | ||
---|---|---|
Parameter # | Type | Description |
1. | handle | Char to do the task |
2. | float | X Coordinate to go to |
3. | float | Y Coordinate to go to |
4. | float | Z Coordinate to go to |
5. | integer | Aiming move type |
6. | integer | Unknown |
7. | integer | Unknown |
8. | integer | Aiming target type |
9. | float | X Coordinate to aim at while moving |
10. | float | Y Coordinate to aim at while moving |
11. | float | Z Coordinate to aim at while moving |
12. | integer | Unknown |
Return value: | ||
Type | Description | |
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. |