Difference between revisions of "DCS func knowTarget"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|fName= knowTarget
 
|fName= knowTarget
  
|vNum= 1.2.4
+
|vNum= 1.2.6
  
 
|par1= [[DCS_Class_Controller|Controller]]
 
|par1= [[DCS_Class_Controller|Controller]]
Line 45: Line 45:
 
}}
 
}}
 
[[Category:Class Functions|knowTarget]]
 
[[Category:Class Functions|knowTarget]]
 +
[[Category:Game Patch 1.2.6|knowTarget]]

Latest revision as of 23:06, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: knowTarget Added with: 1.2.6
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: