isSensorTargetConfirmed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 18: Line 18:
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>


|seealso= [[listVehicleSensors]], [[isVehicleSensorEnabled]]
|seealso= [[listVehicleSensors]] [[isVehicleSensorEnabled]]
}}
}}

Revision as of 17:30, 20 January 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:
_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