MikiBzh Posted October 26, 2014 Posted October 26, 2014 Hi, Question about ADD RADIO ITEM. Working well, but I was curious if we can get more then 10 ? Is there a way to create something with various categories, like the other standard one. For example, one menu F7 with FAC, with inside F1 to F10 with specific radio items, an other F8 for SEAD support, etc etc. TIA, Miki.
mwd2 Posted October 26, 2014 Posted October 26, 2014 You can do it via lua-Script. Take a look into ASW-Training mission from MBot. http://forums.eagle.ru/showpost.php?p=1915928&postcount=24 He create submenus with RadioItem Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
MikiBzh Posted October 27, 2014 Author Posted October 27, 2014 Ok, thank you, I will look the details of the mission.
LFCChameleon_Silk Posted October 28, 2014 Posted October 28, 2014 local rad_option_8a = "Very Easy" GameSet = missionCommands.addSubMenu("OPFS Settings",nil) DifficultySet = missionCommands.addSubMenu("Set Difficulty", GameSet) missionCommands.addCommandForGroup(Rad_GroupID, rad_option_8a, DifficultySet, Set_Difficuty_VeryEasy, nil) -- 'Very Easy' just snippet from my own script but shows how you can create a menu from F10 radio command with another menu inside that leads to another item that runs a function. this is not working code, simply just showing you what LUA commands would look like, you would need to examine something like CTTS.lua to see how he is creating the radio items for the players and implement something similar and also do some research on the wiki as to what arguments you can pass.
Recommended Posts