Difference between revisions of "DCS func addSubMenu"
From DCS World Wiki - Hoggitworld.com
Line 46: | Line 46: | ||
local requestM = missionCommands.addSubMenu('Request Asset') | local requestM = missionCommands.addSubMenu('Request Asset') | ||
− | local rSead = missionCommands.addCommand('SEAD', requestM, doRequestFunction, {type = | + | local rSead = missionCommands.addCommand('SEAD', requestM, doRequestFunction, {type = "SEAD"}) |
− | local rCAS = missionCommands.addCommand('CAS', requestM, doRequestFunction, {type = | + | local rCAS = missionCommands.addCommand('CAS', requestM, doRequestFunction, {type = "CAS"}) |
− | local rCAP= missionCommands.addCommand('CAP', requestM, doRequestFunction, {type = | + | local rCAP= missionCommands.addCommand('CAP', requestM, doRequestFunction, {type = "CAP"}) |
An example of how to create nested submenus... | An example of how to create nested submenus... |