BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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



Revision as of 14:33, 7 April 2019


Hover & click on the images for description

Description

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

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