TASK GO STRAIGHT TO COORD

From GTAMods Wiki
Revision as of 04:15, 16 February 2012 by MulleDK19 (talk | contribs) (Added page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TASK_GO_STRAIGHT_TO_COORD
Number of parameters: 6
Parameter #TypeDescription
1.handleChar to do the task
2.floatX Coordinate
3.floatY Coordinate
4.floatZ Coordinate
5.integerMove type
6.integerUnknown (suggested: -1)
Return value:
TypeDescription
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.