DCS Class Controller
From DCS World Wiki - Hoggitworld.com
Class Name: | Controller | Added with: 1.2.0 | |
Extends: | none | ||
Inherits: | none | ||
Description: | Controller is an object that performs AI-routines. In other words a controller is an instance of the AI. Controller stores the current main task, active enroute tasks, and behavior options. Controllers also can perform commands. Controllers exist at both a group and unit level. However only planes and helicopters can be controlled individually at a unit level. Some functions can only work for Unit Controllers.
Different tasks, options, and commands are available for the different group types. (Plane, Helicopter, Ground Unit, and Ship). See the linked articles on these subjects for more information. | ||
Member Functions: | setTask, resetTask, pushTask, popTask, hasTask, setCommand, setOption, setOnOff, setAltitude, setSpeed, knowTarget, isTargetDetected, getDetectedTargets | ||
Obtained Via: | Static Functions | Functions | Events |
getController | |||
Enumerator Types: | Detection Types
Conroller.Detection VISUAL 1 OPTIC 2 RADAR 4 IRST 8 RWR 16 DLINK 32 | ||
Description Table Structure: | |||
Notes: |