BIS fnc showUnitInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Hides or shows '''weapon''' information. Also hides ''grenades'' information. | |descr= Hides or shows '''weapon''' information. Also hides ''grenades'' information. | ||
|s1=[showUnitInfo] call [[BIS_fnc_showUnitInfo]] | |s1= [showUnitInfo] call [[BIS_fnc_showUnitInfo]] | ||
|p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it | |p1= showUnitInfo: [[Boolean]] - [[true]] to show weapon information, [[false]] to hide it | ||
Line 14: | Line 14: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>false call BIS_fnc_showUnitInfo; // hides weapon information</sqf> | ||
|seealso= [[showHUD]] [[shownHUD]] | |seealso= [[showHUD]] [[shownHUD]] | ||
}} | }} |
Latest revision as of 23:12, 12 July 2022
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:
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