listRemoteTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:listRemoteTargets}}
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________
| arma3 |= Game name
| 1.72 |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 |PARAMETER1=
|descr= Return list of datalink targets and time for which they will be/were known.


| [[Array]] containing [target name, last detected time] |RETURNVALUE=
|s1= [[listRemoteTargets]] side
____________________________________________________________________________________________
 
|x1= <code>listRemoteTargets east;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[listVehicleSensors]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |SEEALSO=
|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 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