BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ \{\{(Command|Function)" to "{{$1")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= GUI |GROUP1=
|gr1= GUI


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


| [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |SYNTAX=
| [showUnitInfo] call [[BIS_fnc_showUnitInfo]]


|p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it |PARAMETER1=
|p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it


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


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


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



Revision as of 00:46, 18 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

Bottom Section