BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - " |s1=[" to " |s1= [")
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= GUI


|1.00|= Game version
|descr= Hides or shows '''weapon''' information. Also hides ''grenades'' information.
____________________________________________________________________________________________


| <pre>/*
|s1= [showUnitInfo] call [[BIS_fnc_showUnitInfo]]


Description:
|p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it
Hides or shows weapon info.


Parameter(s):
|r1= [[Nothing]]
_this select 0: BOOL - Show (true - show, false - hide)


Returns:
|x1= <sqf>false call BIS_fnc_showUnitInfo; // hides weapon information</sqf>
Bool
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_showUnitInfo]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[showHUD]] [[shownHUD]]
}}
}}
<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: GUI|{{uc:showUnitInfo}}]]
[[Category:Functions|{{uc:showUnitInfo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showUnitInfo}}]]

Latest revision as of 00:12, 13 July 2022

Hover & click on the images for description

Description

Description:
Hides or shows weapon information. Also hides grenades information.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[showUnitInfo] call BIS_fnc_showUnitInfo
Parameters:
showUnitInfo: Boolean - true to show weapon information, false to hide it
Return Value:
Nothing

Examples

Example 1:
false call BIS_fnc_showUnitInfo; // hides weapon information

Additional Information

See also:
showHUD shownHUD

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