commandingMenu: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated with empty template)
m (Text replacement - "{{Command " to "{{RV|type=command ")
(40 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
| arma2


|1.00|= Game version
|1.00
____________________________________________________________________________________________


| (description) |= Description
|gr1= Interaction
____________________________________________________________________________________________


| '''(command)''' |= Syntax
| Returns the name of the topmost commanding menu or "" if the menu is closed. For action menu visibility check see [[isActionMenuVisible]].


|p1= |= PARAMETER1
| '''commandingMenu'''


|p2= |= PARAMETER2
|p1=


|p3= |= PARAMETER3
|p2=


| |= RETURNVALUE
|p3=


| [[String]]


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


____________________________________________________________________________________________
|x2= <code>[[if]] ([[commandingMenu]] != "") [[then]] { [[hint]] "Command menu is opened" };</code>


| |= SEEALSO
| [[showCommandingMenu]], [[isActionMenuVisible]], [[BIS_fnc_addCommMenuItem]], [[BIS_fnc_removeCommMenuItem]]
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on July 15, 2009 - 12:21 (CEST)
<dt class="note">[[User:Lou Montana|Lou Montana]]
<dd class="note">
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


<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


<h3 style='display:none'>Bottom Section</h3>
 
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 00:07, 23 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Interaction

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
waitUntil {commandingMenu == "RscStatus"}; hint "Press 4, I'm bleeding !";
Example 2:
if (commandingMenu != "") then { hint "Command menu is opened" };

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
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