isSensorTargetConfirmed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=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. | ||
|s1= | |s1= unit [[isSensorTargetConfirmed]] side | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
Line 15: | 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= < | |x1= <sqf>private _enemyConfirmed = _possibleEnemy isSensorTargetConfirmed opfor;</sqf> | ||
|seealso= [[listVehicleSensors]] | |seealso= [[listVehicleSensors]] [[isVehicleSensorEnabled]] | ||
}} | }} |
Latest revision as of 21:04, 7 May 2022
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:
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