listRemoteTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Some wiki formatting)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:listRemoteTargets}}
{{RV|type=command
{{Command
 
| arma3 |= Game name
|game1= arma3  
| 1.72
|version1= 1.72


|gr1= Sensors
|gr1= Sensors


| Return list of datalink targets and time for which they will be/were known
|descr= Return list of datalink targets and time for which they will be/were known.
 
|s1= [[listRemoteTargets]] side


| '''listRemoteTargets''' side
|p1= side: [[Side]]


|p1= side: [[Side]] - side
|r1= [[Array]] of [[Array]]s in format [remoteTarget, lastDetected] where:
* remoteTarget: [[Object]]
* lastDetected: [[Number]]


| [[Array]] containing [target name, last detected time]
|x1= <sqf>listRemoteTargets opfor;</sqf>
 
|x1= <code>listRemoteTargets east;</code>


| [[listVehicleSensors]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]]
|seealso= [[listVehicleSensors]] [[enableVehicleSensor]] [[isVehicleRadarOn]] [[isVehicleSensorEnabled]]
}}
}}
<dl class="command_description">
</dl>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:00, 7 May 2022

Hover & click on the images for description

Description

Description:
Return list of datalink targets and time for which they will be/were known.
Groups:
Sensors

Syntax

Syntax:
listRemoteTargets side
Parameters:
side: Side
Return Value:
Array of Arrays in format [remoteTarget, lastDetected] where:

Examples

Example 1:
listRemoteTargets opfor;

Additional Information

See also:
listVehicleSensors enableVehicleSensor isVehicleRadarOn 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