listRemoteTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= 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
|s1= [[listRemoteTargets]] side


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


|r1= [[Array]] of [ [[Object]], [[Number]] ] pairs, corresponding to: [remote target, last detected time]
|r1= [[Array]] of [[Array]]s in format [remoteTarget, lastDetected] where:
* remoteTarget: [[Object]]
* lastDetected: [[Number]]


|x1= <code>'''listRemoteTargets''' [[opfor]];</code>
|x1= <sqf>listRemoteTargets opfor;</sqf>


|seealso= [[listVehicleSensors]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]]
|seealso= [[listVehicleSensors]] [[enableVehicleSensor]] [[isVehicleRadarOn]] [[isVehicleSensorEnabled]]
}}
}}

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