listRemoteTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:listRemoteTargets}} {{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |dev|...")
 
m (Some wiki formatting)
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:listRemoteTargets}}
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________
| arma3 |= Game name
|dev|= Game Version
____________________________________________________________________________________________


| Return list of datalink targets and time for which they will be/were known |= Description
|game1= arma3
____________________________________________________________________________________________
|version1= 1.72


| '''listRemoteTargets''' side|= Syntax
|gr1= Sensors


|p1= side: [[Side]] - side |= Parameter 1
|descr= Return list of datalink targets and time for which they will be/were known.


| [[Array]] containing [target name, last detected time] |= Return value
|s1= [[listRemoteTargets]] side
____________________________________________________________________________________________
 
|x1= <code>listRemoteTargets east;</code> |= Example 1
____________________________________________________________________________________________


| [[listVehicleSensors]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |= See also
|p1= side: [[Side]]


}}
|r1= [[Array]] of [[Array]]s in format [remoteTarget, lastDetected] where:
* remoteTarget: [[Object]]
* lastDetected: [[Number]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>listRemoteTargets opfor;</sqf>
<dl class="command_description">
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[listVehicleSensors]] [[enableVehicleSensor]] [[isVehicleRadarOn]] [[isVehicleSensorEnabled]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22: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