Difference between revisions of "DCS func setTask"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 41: Line 41:
 
[[Category:Class Functions|setTask]]
 
[[Category:Class Functions|setTask]]
 
[[Category:Tasks|setTask]]
 
[[Category:Tasks|setTask]]
 +
[[Category:Game Patch 1.2.4|setTask]]

Latest revision as of 23:04, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: setTask Added with: 1.2.4
Member Of: Controller
Syntax: function Controller.setTask(Class self , table task )
Description: Sets the specified task to the units or groups associated with the controller object. Tasks must fit a specified format. 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: