Difference between revisions of "DCS func addCommand"
From DCS World Wiki - Hoggitworld.com
Gillogical (talk | contribs) |
Gillogical (talk | contribs) |
||
Line 60: | Line 60: | ||
|examples= | |examples= | ||
The sample below will generate a base menu accessed via F10 called "Display Requests" for all users with two sub-items for a negative or positive response | The sample below will generate a base menu accessed via F10 called "Display Requests" for all users with two sub-items for a negative or positive response | ||
+ | |||
local displayRequests = missionCommands.addSubMenu( "Display Requests") | local displayRequests = missionCommands.addSubMenu( "Display Requests") |