DCS func addSubMenuForGroup

From DCS World Wiki - Hoggitworld.com
Revision as of 00:12, 12 April 2018 by Grimes (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: addSubMenuForGroup Added with: 1.2.0
Member Of: missionCommands
Syntax: table missionCommands.addSubMenuForGroup(number groupId , string name , table path)
Description: Creates a submenu of a specified name for the specified group. 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.