commandingMenu: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 82724 by killzone_kid on 2014-08-09T21:32:17Z)
m (template:command argument fix)
Line 12: Line 12:
| '''commandingMenu''' |= Syntax
| '''commandingMenu''' |= Syntax


|p1= |= PARAMETER1
|p1= |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[String]] |= RETURNVALUE
| [[String]] |RETURNVALUE=  




|x1= <code>[[waitUntil]] {[[commandingMenu]] <nowiki>==</nowiki> "RscStatus"}; [[hint]] "Press 4, I'm bleeding !";</code>|= EXAMPLE1
|x1= <code>[[waitUntil]] {[[commandingMenu]] <nowiki>==</nowiki> "RscStatus"}; [[hint]] "Press 4, I'm bleeding !";</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[showCommandingMenu]], [[BIS_fnc_addCommMenuItem]], [[BIS_fnc_removeCommMenuItem]] |= SEEALSO
| [[showCommandingMenu]], [[BIS_fnc_addCommMenuItem]], [[BIS_fnc_removeCommMenuItem]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:29, 7 April 2019

Hover & click on the images for description

Description

Description:
Return the name of the player actual topmost commanding menu.
Groups:
Uncategorised

Syntax

Syntax:
commandingMenu
Return Value:
String

Examples

Example 1:
waitUntil {commandingMenu == "RscStatus"}; hint "Press 4, I'm bleeding !";

Additional Information

See also:
showCommandingMenuBIS_fnc_addCommMenuItemBIS_fnc_removeCommMenuItem

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

Posted on July 15, 2009 - 12:21 (CEST)
Lou Montana
Possible values are :
  • "" - means menu is closed
  • "RscMainMenu" - Main menu, by pressing backspace
    • "RscMoveHigh" - Move menu (1)
    • "#WATCH" - Watch menu (2)
      • "#WATCH0" - Watch menu - next page (2-0)
    • "RscWatchDir" - Engage menu (3)
      • "RscWatchMoreDir" - Engage menu - watch a direction (3-8)
    • "#GET_IN" - Mount menu (4)
    • "RscStatus" - Status menu (5)
      • "RscCallSupport" - Mount menu - call support (5-1)
    • "#ACTION" - Action menu (6)
    • "RscCombatMode" - Combat mode menu (7)
    • "RscFormations" - Formation menu(8)
    • "RscTeam" - Team menu (9)
      • "RscSelectTeam" - Team menu - select team (0-5)
    • "RscReply" - Reply menu (0)
      • "#User:BIS_Menu_GroupCommunication" - Communication menu (0-8)
      • "#CUSTOM_RADIO" - Custom sounds menu (0-9)
    • "RscRadio" - Radio menu (0-0)
  • "RscGroupRootMenu" - "simplified" menu

Bottom Section