TASK GO STRAIGHT TO COORD
Jump to navigation
Jump to search
| Number of parameters: 6 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | handle | Char to do the task |
| 2. | float | X Coordinate |
| 3. | float | Y Coordinate |
| 4. | float | Z Coordinate |
| 5. | integer | Move type |
| 6. | integer | Unknown (suggested: -1) |
| Return value: | ||
| Type | Description | |
| None | ||
Makes the specified char go to the specified coordinates, using the specified move type.
If P6 is not -1, the char will warp to the specified coordinates after 2 seconds.
Known Move Types
| Integer | Description |
| 0 | Unsure. Seems to make the char not move, then teleport to the specified coordinates after about 20 seconds. |
| 1 | Same as 0. |
| 2 | Walk. |
| 3 | Run with Gun (Regardless of the presence of a gun). |
| 4 | Sprint. |