Difference between revisions of "DCS func pushTask"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 3: Line 3:
 
|fName= pushTask
 
|fName= pushTask
  
|vNum= 1.2.4
+
|vNum= 1.2.2
  
 
|par1= [[DCS_Class_Controller|Controller]]
 
|par1= [[DCS_Class_Controller|Controller]]
Line 42: Line 42:
 
[[Category:Class Functions|pushTask]]
 
[[Category:Class Functions|pushTask]]
 
[[Category:Tasks|pushTask]]
 
[[Category:Tasks|pushTask]]
 +
[[Category:Game Patch 1.2.2|pushTask]]

Latest revision as of 07:35, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: pushTask Added with: 1.2.2
Member Of: Controller
Syntax: function Controller.pushTask(Class self , table task )
Description: Pushes the specified task to the front of the tasking queue. If no other tasks are currently active it will function effectively the same as Controller.setTask()

For more information see the specific task page you are looking for:

Main Tasks: AttackGroup, AttackUnit, Bombing, Strafing, CarpetBombing, AttackMapObject, BombingRunway, orbit, refueling, land, follow, followBigFormation, escort, Embarking, fireAtPoint, hold, FAC_AttackGroup, EmbarkToTransport, DisembarkFromTransport, CargoTransportation, goToWaypoint, groundEscort, RecoveryTanker

Enroute Tasks: engageTargets, engageTargetsInZone, engageGroup, engageUnit, awacs, tanker, ewr, FAC_engageGroup, FAC


Return Value: function
Return Example: none
Examples:
Related Functions: Controller: setTask, resetTask, pushTask, popTask, hasTask, setCommand, setOption, setOnOff, setAltitude, setSpeed, knowTarget, isTargetDetected, getDetectedTargets
Notes: