Jump to content

RADIO ADD ITEM - possible to get more ?


Recommended Posts

Posted

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.

Posted

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.

  • Recently Browsing   0 members

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