Difference between revisions of "TASK HELI MISSION"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |np=8 |p1t=Integer |p1d=Char (pilot) Handle |p2t=Integer |p2d=Helicopter Handle |p3t=Integer |p3d=Unknown (Appears to be "0") |p4t=Integer |p4d=Unknown role (Appears...")
 
 
Line 1: Line 1:
 
{{Native
 
{{Native
|np=8
+
|np=13
 
|p1t=Integer
 
|p1t=Integer
 
|p1d=Char (pilot) Handle
 
|p1d=Char (pilot) Handle

Latest revision as of 09:52, 2 September 2013

TASK_HELI_MISSION
Number of parameters: 13
Parameter #TypeDescription
1.IntegerChar (pilot) Handle
2.IntegerHelicopter Handle
3.IntegerUnknown (Appears to be "0")
4.IntegerUnknown role (Appears to be the Handle of the local Player OR to be "0")
5.IntegerDestination X
6.IntegerDestination Y
7.IntegerDestination Z
8.IntegerUnknown (Values in sco are from 0 to 19)
9.floatSpeed
10.IntegerUnknown (Appears to be from "0" to "30")
11.floatUnknown (often set to "-1",it haves sometime values up to 90.0f)
12.IntegerUnknown (sometime set to "-1", it seems to have a role regarding altitude)
13.IntegerUnknown (sometime set to "-1")
Return value:
TypeDescription
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.