isSensorTargetConfirmed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - " |r1=[[" to " |r1= [[")
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.72


|1.72|Game version=
|gr1= Sensors


|gr1= Sensors |GROUP1=
|descr= Returns if given unit is confirmed target for given side.
____________________________________________________________________________________________


| Returns if given unit is confirmed target for given side. |DESCRIPTION=
|s1= unit [[isSensorTargetConfirmed]] side
____________________________________________________________________________________________


| unit '''isSensorTargetConfirmed''' side |SYNTAX=
|p1= unit: [[Object]]


|p1 = unit: [[Object]]
|p2= side: [[Side]]


|p2 = side: [[Side]]
|r1= [[Boolean]] - [[true]] if confirmed target, otherwise [[false]]


| [[Boolean]] - [[true]] if confirmed target, otherwise [[false]]|RETURNVALUE=
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>
______________________________________________________________________________________
 
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[listVehicleSensors]], [[isVehicleSensorEnabled]] |SEEALSO=


|seealso= [[listVehicleSensors]], [[isVehicleSensorEnabled]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 00:47, 8 August 2021

Hover & click on the images for description

Description

Description:
Returns if given unit is confirmed target for given side.
Groups:
Sensors

Syntax

Syntax:
unit isSensorTargetConfirmed side
Parameters:
unit: Object
side: Side
Return Value:
Boolean - true if confirmed target, otherwise false

Examples

Example 1:
_enemyConfirmed = _possibleEnemy isSensorTargetConfirmed opfor;

Additional Information

See also:
listVehicleSensorsisVehicleSensorEnabled

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note