BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= GUI
|gr1= GUI


| Hides or shows '''weapon''' information. Also hides ''grenades'' information.
|descr= Hides or shows '''weapon''' information. Also hides ''grenades'' information.


|s1=[showUnitInfo] call [[BIS_fnc_showUnitInfo]]
|s1=[showUnitInfo] call [[BIS_fnc_showUnitInfo]]

Revision as of 20:54, 13 June 2021

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

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