BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\{\{cc\|([^{}]+)\}\} *<\/code>" to "<code>$1// $2</code>")
Line 14: Line 14:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>false call BIS_fnc_showUnitInfo; {{cc|hides weapon information}}</code>
|x1= <code>false call BIS_fnc_showUnitInfo; // hides weapon information</code>


|seealso= [[showHUD]] [[shownHUD]]
|seealso= [[showHUD]] [[shownHUD]]
}}
}}

Revision as of 22:23, 12 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