isSensorTargetConfirmed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - " |r1=[[" to " |r1= [[")
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|descr= Returns if given unit is confirmed target for given side.
|descr= Returns if given unit is confirmed target for given side.


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


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


|r1=[[Boolean]] - [[true]] if confirmed target, otherwise [[false]]
|r1= [[Boolean]] - [[true]] if confirmed target, otherwise [[false]]


|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]]  [[opfor]];</code>

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