TASK HELI MISSION
Jump to navigation
Jump to search
Number of parameters: 8 | ||
---|---|---|
Parameter # | Type | Description |
1. | Integer | Char (pilot) Handle |
2. | Integer | Helicopter Handle |
3. | Integer | Unknown (Appears to be "0") |
4. | Integer | Unknown role (Appears to be the Handle of the local Player OR to be "0") |
5. | Integer | Destination X |
6. | Integer | Destination Y |
7. | Integer | Destination Z |
8. | Integer | Unknown (Values in sco are from 0 to 19) |
9. | float | Speed |
10. | Integer | Unknown (Appears to be from "0" to "30") |
11. | float | Unknown (often set to "-1",it haves sometime values up to 90.0f) |
12. | Integer | Unknown (sometime set to "-1", it seems to have a role regarding altitude) |
13. | Integer | Unknown (sometime set to "-1") |
Return value: | ||
Type | Description | |
None |
This function seems to act as a 'Flight_To'. You can use it to set the altitude of the waypoint.
To be confirmed : p4 will specify if Destination is absolute or relative to p4 character position.