showCommandingMenu: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(params)
(add menu page number requirement)
Line 12: Line 12:
| '''showCommandingMenu''' name |= Syntax
| '''showCommandingMenu''' name |= Syntax


|p1= name: [[String]] - Class name or user menu name with prefix. |= PARAMETER1  
|p1= name: [[String]] - Class name or user menu name (with "#USER:" prefix and "_#" page number suffix, where # is the page number starting with 0). |= PARAMETER1  


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  
Line 18: Line 18:
|x1= <code>showCommandingMenu "";</code>|= EXAMPLE1  
|x1= <code>showCommandingMenu "";</code>|= EXAMPLE1  
|x2= <code>showCommandingMenu "MyClassName";</code>|= EXAMPLE2  
|x2= <code>showCommandingMenu "MyClassName";</code>|= EXAMPLE2  
|x3= <code>showCommandingMenu "#USER:Tag_Menu_myMenu";</code>|= EXAMPLE3  
|x3= <code>showCommandingMenu "#USER:Tag_Menu_myMenu_0";</code>|= EXAMPLE3  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 09:28, 17 September 2009

Hover & click on the images for description

Description

Description:
Create the commanding menu described by the given config class or menu name. When the name is empty, the current menu is hidden.
Groups:
Uncategorised

Syntax

Syntax:
showCommandingMenu name
Parameters:
name: String - Class name or user menu name (with "#USER:" prefix and "_#" page number suffix, where # is the page number starting with 0).
Return Value:
Nothing

Examples

Example 1:
showCommandingMenu "";
Example 2:
showCommandingMenu "MyClassName";
Example 3:
showCommandingMenu "#USER:Tag_Menu_myMenu_0";

Additional Information

See also:
commandingMenu, BIS_FNC_createMenu, BIS_MENU_GroupCommunication

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