isSensorTargetConfirmed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.72 | |1.72 | ||
|gr1= Sensors | |gr1= Sensors | ||
| Returns if given unit is confirmed target for given side. | | Returns if given unit is confirmed target for given side. | ||
| unit '''isSensorTargetConfirmed''' side | | 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]] | | [[Boolean]] - [[true]] if confirmed target, otherwise [[false]] | ||
|x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]] [[opfor]];</code> | |x1= <code>_enemyConfirmed = _possibleEnemy [[isSensorTargetConfirmed]] [[opfor]];</code> | ||
| [[listVehicleSensors]], [[isVehicleSensorEnabled]] | | [[listVehicleSensors]], [[isVehicleSensorEnabled]] | ||
}} | }} |
Revision as of 00:45, 18 January 2021
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