DCS func knowTarget

From DCS World Wiki - Hoggitworld.com
Revision as of 00:12, 12 April 2018 by Grimes (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: knowTarget Added with: 1.2.4
Member Of: Controller
Syntax: function Controller.knowTarget(Class self , Object object , boolean type, boolean distance)
Description: Forces the controller to become aware of the specified target, without the controller manually detecting the object itself.

Applies only to a Unit Controller. Cannot be used at the group level.


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