DCS singleton missionCommands
From DCS World Wiki - Hoggitworld.com
Singleton: | missionCommands | Added with: 1.2.0 | |
Description: | The missionCommands singleton allows for greater access and flexibility of use for the F10 Other radio menu. Added commands can contain sub-menus and directly call lua functions. | ||
Functions: | addCommand, addSubMenu, removeItem, addCommandForCoalition, addSubMenuForCoalition, removeItemForCoalition, addCommandForGroup, addSubMenuForGroup, removeItemForGroup | ||
Enumerators and Other Data: | Functions that add commands and submenus return a "path" table. This table is indexed numerically and shows where in the F10 menu a command resides.
{ [1] = "Command in Root", } { [1] = "SubMenuInRoot", [2] = "Command in the submenu", } { [1] = "SubMenuInRoot", [2] = "SubMenuInRootSubMenu", [3] = "Command in nested submenu", } | ||
Notes: |