BIS fnc diagKnownTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 8: Line 8:
|descr= 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.


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


|p1= target: [[Object]] - (Optional, default [[player]]) - Profiled unit
|p1= target: [[Object]] - (Optional, default [[player]]) - Profiled unit

Revision as of 00:11, 13 July 2022

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:
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