BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:


{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


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


| [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |SYNTAX=
| [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |SYNTAX=
Line 18: Line 15:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[[false]] [[call]] [[BIS_fnc_showUnitInfo]]; {{codecomment|// hides weapon information}}</code> |EXAMPLE1=
|x1= <code>[[false]] [[call]] [[BIS_fnc_showUnitInfo]]; {{codecomment|// hides weapon information}}</code> |EXAMPLE1=
____________________________________________________________________________________________


|[[showHUD]], [[shownHUD]] |SEEALSO=
|[[showHUD]], [[shownHUD]] |SEEALSO=

Revision as of 00:45, 17 January 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

Notes

Bottom Section