DCS func knowTarget

From DCS World Wiki - Hoggitworld.com

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, knowTarget, isTargetDetected, getDetectedTargets
Notes: