BIS fnc diagKnownTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Some wiki formatting)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Diagnostic
|gr1= Diagnostic


| Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.
|descr= Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.
 
|  [target, radius] call [[BIS_fnc_diagKnownTargets]]
|p1= target: [[Object]] - (Optional, default [[player]]) - Profiled unit
|p2= radius: [[Number]] - (Optional, default 3000) - Radius of the scanned area


| [[Nothing]]
|s1= [target, radius] call [[BIS_fnc_diagKnownTargets]]


|x1= <code>[[call]] [[BIS_fnc_diagKnownTargets]];</code>
|p1= target: [[Object]] - (Optional, default [[player]]) profiled unit


|[[:Category:Function Group: Diagnostic|Diag functions]]
|p2= radius: [[Number]] - (Optional, default 3000) radius of the scanned area
}}


|r1= [[Nothing]]


|x1= <sqf>[leader player, 500] call BIS_fnc_diagKnownTargets;</sqf>


[[Category:{{Name|arma3}}: Functions|{{uc:diagKnownTargets}}]]
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
}}

Latest revision as of 10:53, 8 November 2023

Hover & click on the images for description

Description

Description:
Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[target, radius] call BIS_fnc_diagKnownTargets
Parameters:
target: Object - (Optional, default player) profiled unit
radius: Number - (Optional, default 3000) radius of the scanned area
Return Value:
Nothing

Examples

Example 1:
[leader player, 500] call BIS_fnc_diagKnownTargets;

Additional Information

See also:
Diag functions

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