BIS fnc showUnitInfo: Difference between revisions
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. |= | | Hides or shows '''weapon''' information. Also hides ''grenades'' information. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |= | | [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |SYNTAX= | ||
|p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it |= | |p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[false]] [[call]] [[BIS_fnc_showUnitInfo]]; {{codecomment|// hides weapon information}}</code> |= | |x1= <code>[[false]] [[call]] [[BIS_fnc_showUnitInfo]]; {{codecomment|// hides weapon information}}</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[showHUD]], [[shownHUD]] |= | |[[showHUD]], [[shownHUD]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
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
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