BIS fnc setIDCStreamFriendly: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
____________________________________________________________________________________________ | |||
| arma3 |Game name= | |||
|1.00|Game version= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.|Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] |Syntax= | ||
|p1=target: [[Display]] or [[Control]] |Parameter 1= | |||
|p2=IDC: [[Number]] - (Optional, default -1) Control IDC when the first parameter is a display |Parameter 2= | |||
| [[Boolean]] - [[True]] when visible, [[false]] when hidden |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>[ ([[findDisplay]] 1337) [[displayCtrl]] 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 1= | ||
| | |x2= <code>[ [[findDisplay]] 1337, 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[findDisplay]], [[displayCtrl]] |See also= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 12:28, 21 June 2018
Description
- Description:
- Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [target,IDC] call BIS_fnc_setIDCStreamFriendly
- Parameters:
- target: Display or Control
- IDC: Number - (Optional, default -1) Control IDC when the first parameter is a display
- Return Value:
- Boolean - True when visible, false when hidden
Examples
- Example 1:
[ (findDisplay 1337) displayCtrl 42 ] call BIS_fnc_setIDCStreamFriendly;
- Example 2:
[ findDisplay 1337, 42 ] call BIS_fnc_setIDCStreamFriendly;
Additional Information
- See also:
- findDisplaydisplayCtrl
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