BIS fnc diagKnownTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Some wiki formatting)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Diagnostic


|1.00|= Game version
|descr= Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.
____________________________________________________________________________________________


| <pre>/*
|s1= [target, radius] call [[BIS_fnc_diagKnownTargets]]
File: fn_diagKnownTargets.sqf


Description:
|p1= target: [[Object]] - (Optional, default [[player]]) profiled unit
Visualize and profile which units one specific unit knows about and how much.
Calling function again stops diagnostics.


Parameter(s):
|p2= radius: [[Number]] - (Optional, default 3000) radius of the scanned area
_this select 0: profile unit (Object) [default player]
_this select 1: radius (Scalar - meters) [default 1000m]
Returns:
-
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Nothing]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagKnownTargets]]; --> |= Syntax
|x1= <sqf>[leader player, 500] call BIS_fnc_diagKnownTargets;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:diagKnownTargets}}]]
[[Category:Functions|{{uc:diagKnownTargets}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagKnownTargets}}]]

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