<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AtaskPlaneMission</id>
	<title>Player::taskPlaneMission - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AtaskPlaneMission"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::taskPlaneMission&amp;action=history"/>
	<updated>2026-06-05T02:35:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::taskPlaneMission&amp;diff=3689&amp;oldid=prev</id>
		<title>Marty uploader: yay</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::taskPlaneMission&amp;diff=3689&amp;oldid=prev"/>
		<updated>2017-05-06T23:39:49Z</updated>

		<summary type="html">&lt;p&gt;yay&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;EXAMPLE USAGE:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Fly around target (Precautiously, keeps high altitude):&amp;lt;br&amp;gt;Function.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, 200f);&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Fly around target (Dangerously, keeps VERY low altitude):&amp;lt;br&amp;gt;Function.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, -500f);&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Fly directly into target:&amp;lt;br&amp;gt;Function.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, -5000f);&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;EXPANDED INFORMATION FOR ADVANCED USAGE (custom pilot)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;#039;physicsSpeed&amp;#039;: (THIS IS NOT YOUR ORDINARY SPEED PARAMETER: READ!!)&amp;lt;br&amp;gt;Think of this -first- as a radius value, not a true speed value.  The ACTUAL effective speed of the plane will be that of the maximum speed permissible to successfully fly in a -circle- with a radius of &amp;#039;physicsSpeed&amp;#039;.  This also means that the plane must complete a circle before it can begin its &amp;#039;bombing run&amp;#039;, its straight line pass towards the target.  p9 appears to influence the angle at which a &amp;#039;bombing run&amp;#039; begins, although I can&amp;#039;t confirm yet.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;VERY IMPORTANT: A &amp;#039;bombing run&amp;#039; will only occur if a plane can successfully determine a possible navigable route (the slower the value of &amp;#039;physicsSpeed&amp;#039;, the more precise the pilot can be due to less influence of physics on flightpath).  Otherwise, the pilot will continue to patrol around Destination (be it a dynamic Entity position vector or a fixed world coordinate vector.)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;0 = Plane&amp;#039;s physics are almost entirely frozen, plane appears to &amp;#039;orbit&amp;#039; around precise destination point&amp;lt;br&amp;gt;1-299 = Blend of &amp;#039;frozen, small radius&amp;#039; vs. normal vs. &amp;#039;accelerated, hyperfast, large radius&amp;#039;&amp;lt;br&amp;gt;300+ =  Vehicle behaves entirely like a normal gameplay plane.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;#039;patrolBlend&amp;#039; (The lower the value, the more the Destination is treated as a &amp;#039;fly AT&amp;#039; rather than a &amp;#039;fly AROUND point&amp;#039;.)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Scenario: Destination is an Entity on ground level, wide open field&amp;lt;br&amp;gt;-5000 = Pilot kamikazes directly into Entity&amp;lt;br&amp;gt;-1000 = Pilot flies extremely low -around- Entity, very prone to crashing&amp;lt;br&amp;gt;-200 = Pilot flies lower than average around Entity.&amp;lt;br&amp;gt;0 = Pilot flies around Entity, normal altitude&amp;lt;br&amp;gt;200 = Pilot flies an extra eighty units or so higher than 0 while flying around Destination (this doesn&amp;#039;t seem to correlate directly into distance units.)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;-- Valid mission types found in the exe: --&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;0 = None&amp;lt;br&amp;gt;1 = Unk&amp;lt;br&amp;gt;2 = CTaskVehicleRam&amp;lt;br&amp;gt;3 = CTaskVehicleBlock&amp;lt;br&amp;gt;4 = CTaskVehicleGoToPlane&amp;lt;br&amp;gt;5 = CTaskVehicleStop&amp;lt;br&amp;gt;6 = CTaskVehicleAttack&amp;lt;br&amp;gt;7 = CTaskVehicleFollow&amp;lt;br&amp;gt;8 = CTaskVehicleFleeAirborne&amp;lt;br&amp;gt;9= CTaskVehicleCircle&amp;lt;br&amp;gt;10 = CTaskVehicleEscort&amp;lt;br&amp;gt;15 = CTaskVehicleFollowRecording&amp;lt;br&amp;gt;16 = CTaskVehiclePoliceBehaviour&amp;lt;br&amp;gt;17 = CTaskVehicleCrash&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;-CamxxCore&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;player.taskPlaneMission(plane, targetVehicle, targetPed, destinationX, destinationY, destinationZ, p7, physicsSpeed, p9, p10, maxAltitude, minAltitude);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;plane:&amp;#039;&amp;#039;&amp;#039; Vehicle handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetVehicle:&amp;#039;&amp;#039;&amp;#039; Vehicle handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetPed:&amp;#039;&amp;#039;&amp;#039; Ped handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;destinationX:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;destinationY:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;destinationZ:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p7:&amp;#039;&amp;#039;&amp;#039; int&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;physicsSpeed:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p9:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p10:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;maxAltitude:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;minAltitude:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Marty uploader</name></author>
	</entry>
</feed>