isSensorTargetConfirmed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Some wiki formatting)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.72
|1.72


|gr1= Sensors
|gr1= Sensors


| Returns if given unit is confirmed target for given side.
|descr= Returns if given unit is confirmed target for given side.


| unit '''isSensorTargetConfirmed''' side
|s1= unit [[isSensorTargetConfirmed]] side


|p1 = unit: [[Object]]
|p1= unit: [[Object]]


|p2 = side: [[Side]]
|p2= side: [[Side]]


| [[Boolean]] - [[true]] if confirmed target, otherwise [[false]]
|r1= [[Boolean]] - [[true]] if confirmed target, otherwise [[false]]
 
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>


| [[listVehicleSensors]], [[isVehicleSensorEnabled]]
|x1= <sqf>private _enemyConfirmed = _possibleEnemy isSensorTargetConfirmed opfor;</sqf>


|seealso= [[listVehicleSensors]] [[isVehicleSensorEnabled]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
{{GameCategory|arma3|New Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 22:04, 7 May 2022

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:
private _enemyConfirmed = _possibleEnemy isSensorTargetConfirmed opfor;

Additional Information

See also:
listVehicleSensors isVehicleSensorEnabled

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