Difference between revisions of "DCS func knowTarget"

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

Revision as of 23:06, 17 March 2022

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: