BIS fnc showUnitInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling - missing see also)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Hides or shows '''weapon''' information. Also hides ''grenades'' information. |= Description
 
Description:
Hides or shows weapon info.
 
Parameter(s):
_this select 0: BOOL - Show (true - show, false - hide)
 
Returns:
Bool
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_showUnitInfo]]; --> |= Syntax
| [showUnitInfo] call [[BIS_fnc_showUnitInfo]] |= Syntax


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


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


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


| |= See also
| |= See also
}}
}}



Revision as of 19:27, 21 April 2018


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:
See also needed

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