DCS func knowTarget

From DCS World Wiki - Hoggitworld.com
Revision as of 23:06, 17 March 2022 by Grimes (talk | contribs)

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: