Jump to content

need help to create F-10 submenu


nsksleeper

Recommended Posts

hello all there, i want to create for a mission a F-10 menu, i tried to figure it out how to do, but stuck, due to i don't still not understand lua (little shame on me)

 

what i want is following:

 

i actually created 4 radio items which should stay there all time. so i need just item 5

 

i need now the following.

 

F-10 root menu

F1 = message 1

F2 = message 2

F3 = message 3

F4 = message 4

F5 = choose color

sub of F5 ...RED

... activate Unit 1 --sub of RED

... activate Unit 2

... activate Unit 3

... activate Unit 4

sub of F-5 ...BLUE

... activate Unit 1 --sub of BLUE

... activate Unit 2

... activate Unit 3

... activate Unit 4

sub of F-5 ...ORANGE

... activate Unit 1 --sub of ORANGE

... activate Unit 2

... activate Unit 3

... activate Unit 4

sub of F-5 ...WHITE

... activate Unit 1 --sub of WHITE

... activate Unit 2

... activate Unit 3

... activate Unit 4

 

activate means set GROUP KI on

 

hope you can help me

 

thx guys, with this option is done i can share you a different but maybe funny mission

 

 

:thumbup:


Edited by nsksleeper

lg Markus

Link to comment
Share on other sites

Lua coding is easiest for this, but...

 

Yes, you're right. MOOSE or MIST lua scripting would make this very easy. Doing this through the ME is a little tricky.

 

Menu item 1 through 4 is easy, but 5 gets a little harder. You'll need to set a flag with menu item 5 that REMOVES THE ENTIRE MENU first. It then ADDS menu 5 items right after the REMOVAL. Not sure, but you'll probably have to press F10 again. Once a sub-menu 5 item is selected, this will also set a flag to REMOVE the SUB-menu items, and then ADDS the base F10 menu again.

 

Hopefully, this will give you an idea where to start.

 

ChuckIV

"Never in the field of human conflict was so much owed by so many to so few." Winston Churchill

 

SYSTEM:

Processor - Intel® Core i9-9900KF CPU @ 3.60GHz 3600MHz water-cooled

Installed memory (RAM) - 32.0 GB

64-bit Operating System, x64-based processor

Windows 10 & DCS on SSD

Video Card - water-cooled NVIDIA GeForce RTX 2080 Ti

Internet: Cable 200Mbps 12Mbps

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...