isSensorTargetConfirmed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.72|Game version=
|1.72


|gr1= Sensors |GROUP1=
|gr1= Sensors


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


| unit '''isSensorTargetConfirmed''' side |SYNTAX=
| unit '''isSensorTargetConfirmed''' side


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


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


| [[listVehicleSensors]], [[isVehicleSensorEnabled]] |SEEALSO=
| [[listVehicleSensors]], [[isVehicleSensorEnabled]]


}}
}}

Revision as of 00:45, 18 January 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

Notes

Bottom Section