TASK CAR MISSION PED TARGET
Revision as of 18:05, 28 February 2011 by Impediment (talk | contribs) (Created page with '{{Native |np=8 |p1t=Integer |p1d=Char Handle |p2t=Integer |p2d=Vehicle Handle |p3t=Integer |p3d=Target Char Handle |p4t=Integer |p4d=Unknown (seems to be "4") |p5t=Float |p5d=Dri…')
Number of parameters: 8 | ||
---|---|---|
Parameter # | Type | Description |
1. | Integer | Char Handle |
2. | Integer | Vehicle Handle |
3. | Integer | Target Char Handle |
4. | Integer | Unknown (seems to be "4") |
5. | Float | Driving Speed (possibly KPH) |
6. | Integer | Unknown (seems to be Driving Style) |
7. | Integer | Unknown (seems to be "5") |
8. | Integer | Unknown (seems to be "10") |
Return value: | ||
Type | Description | |
None |
This function will have the char (parameter_1) use the vehicle (parameter_2) to follow the target char (parameter_3). The char (parameter_1) will get in the driver of the vehicle automatically. The char (parameter_1) only seems to follow the target as long as there is distance between the two; the task will end when the char is close enough to target.
Known Driving Styles
Integer | Description |
1 | Abide traffic laws |
2 | Ignore traffic laws |