Difference between revisions of "cmf menu fnc toggleHUDAction"
Jump to navigation
Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This is an internal function of menu. It will allow for toggling the HUD so players can take i...") |
|||
Line 26: | Line 26: | ||
|event2= {{!}} LOCAL {{!}}{{!}} cmf_menu_onHUDShown {{!}}{{!}} [ ] {{!}}{{!}} Is fired locally for player when the HUD gets shown. | |event2= {{!}} LOCAL {{!}}{{!}} cmf_menu_onHUDShown {{!}}{{!}} [ ] {{!}}{{!}} Is fired locally for player when the HUD gets shown. | ||
}} | }} | ||
<dl class="command_description"> | |||
<dt></dt> | |||
<dd class="notedate">Posted on December 17, 2022 - 18:17 (UTC+1)</dd> | |||
<dt class="note">[[User:Eric|Eric]]</dt> | |||
<dd class="note"> | |||
This function can also be activated with configurable keybinds found in CBA: "Addon Keybinds" >> "CMF: Common". By default it's bound to CTRL + TAB | |||
</dd> | |||
</dl> |
Revision as of 17:21, 17 December 2022
Description
- Description:
- This is an internal function of menu. It will allow for toggling the HUD so players can take in-mission screenshots without any HUD elements.
- Execution:
- Call
- Groups:
- CMF3: menu
Syntax
- Syntax:
- [] call cmf_menu_fnc_toggleHUDAction
- Return Value:
- None
Examples
- Example 1:
[] call cmf_menu_fnc_toggleHUDAction;
Additional Information
- See also:
- See also needed
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Unit | cmf_menu_hud_default | A variable that contains the default showHUD parameters |
GLOBAL | Unit | cmf_menu_hud_show | A Boolean variable that tracks whether the HUD is shown or not. |
Events
Locality | Name | Variables | Description |
---|---|---|---|
LOCAL | cmf_menu_onHUDHidden | [ ] | Is fired locally for player when the HUD gets hidden. |
LOCAL | cmf_menu_onHUDShown | [ ] | Is fired locally for player when the HUD gets shown. |
Notes
- Posted on December 17, 2022 - 18:17 (UTC+1)
- Eric
- This function can also be activated with configurable keybinds found in CBA: "Addon Keybinds" >> "CMF: Common". By default it's bound to CTRL + TAB