listRemoteTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Some wiki formatting)
 
(18 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.


| '''listRemoteTargets''' side
|s1= [[listRemoteTargets]] side


|p1= side: [[Side]] - side
|p1= side: [[Side]]


| [[Array]] containing [target name, last detected time]
|r1= [[Array]] of [[Array]]s in format [remoteTarget, lastDetected] where:
 
* remoteTarget: [[Object]]
|x1= <code>listRemoteTargets east;</code>
* lastDetected: [[Number]]


| [[listVehicleSensors]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]]
|x1= <sqf>listRemoteTargets opfor;</sqf>


|seealso= [[listVehicleSensors]] [[enableVehicleSensor]] [[isVehicleRadarOn]] [[isVehicleSensorEnabled]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
{{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