Difference between revisions of "DCS func addSubMenuForCoalition"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|fName= addSubMenuForCoalition
 
|fName= addSubMenuForCoalition
  
|vNum= 1.2.0
+
|vNum= 1.2.4
  
 
|par1= [[DCS_singleton_missionCommands|missionCommands]]
 
|par1= [[DCS_singleton_missionCommands|missionCommands]]
Line 45: Line 45:
 
}}
 
}}
 
[[Category:Singleton Functions|addSubMenuForCoalition]]
 
[[Category:Singleton Functions|addSubMenuForCoalition]]
 +
[[Category:Game Patch 1.2.4|addSubMenuForCoalition]]

Latest revision as of 22:20, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: addSubMenuForCoalition Added with: 1.2.4
Member Of: missionCommands
Syntax: table missionCommands.addSubMenuForCoalition(enum coalition.side , string name , table path)
Description: Creates a submenu of a specified name for the specified coalition. Can be used to create nested sub menues. If the path is not specified, submenu is added to the root menu.


Return Value: table
Return Example: none
Examples:
Related Functions: missionCommands Functions: addCommand, addSubMenu, removeItem, addCommandForCoalition, addSubMenuForCoalition, removeItemForCoalition, addCommandForGroup, addSubMenuForGroup, removeItemForGroup
Notes: See page on missionCommands.addSubMenu on information for the path and more examples.