BIS fnc diagKnownTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Diagnostic
____________________________________________________________________________________________


| Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.|DESCRIPTION=
|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]]


|  [target, radius] call [[BIS_fnc_diagKnownTargets]] |SYNTAX=
|p1= target: [[Object]] - (Optional, default [[player]]) profiled unit
____________________________________________________________________________________________
|p1= target: [[Object]] - (Optional, default [[player]]) - Profiled unit|PARAMETER1=
|p2= radius: [[Number]] - (Optional, default 3000) - Radius of the scanned area|PARAMETER2=
____________________________________________________________________________________________


| [[Nothing]]|RETURNVALUE=
|p2= radius: [[Number]] - (Optional, default 3000) radius of the scanned area
____________________________________________________________________________________________


|x1= <code>[[call]] [[BIS_fnc_diagKnownTargets]];</code> |=
|r1= [[Nothing]]
____________________________________________________________________________________________


|[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO=
|x1= <sqf>[leader player, 500] call BIS_fnc_diagKnownTargets;</sqf>
 
|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