BIS fnc showUnitInfo: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) 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 23:45, 16 January 2021
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
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