Jump to content

Recommended Posts

Posted

Greetings.

 

I am trying to figure out how to change the font color for the F-10 Radio menu, for missions / scripts that I have. Is it possible ?

 

I am not a coder nor do i have a background in it, but im a guessing there is a way using the RGB setup same for the labels.lua that we can change the text color ?

 

Script for setting up triggers in the radio menu is setup via lua a portion of it is below organizing the F10 menu.

 

I have tried several variations of (color = x,x,x) etc in the same lines as the localsub command.

 

Anyone know how to do this ?

 

Thanks

-------------------------------------------------------------------------------------------------

 

 

local function setFlag(val)

trigger.action.setUserFlag(val.flag, true)

 

end

 

local main= missionCommands.addSubMenu('Missions 1'), color = { 163, 25, 12 }

local sub= missionCommands.addCommand('Blackhawk down', main, setFlag, {flag= 30})

local sub= missionCommands.addCommand('Convoy escort', main, setFlag, {flag= 40})

local sub= missionCommands.addCommand('Defend Kasab', main, setFlag, {flag= 50})

local sub= missionCommands.addCommand('Escort C17 from Al Minhad AB', main, setFlag, {flag= 60})

local sub= missionCommands.addCommand('Seerik CAS', main, setFlag, {flag= 80})

local sub= missionCommands.addCommand('Cooridnated factory strike', main, setFlag, {flag= 90})

local sub= missionCommands.addCommand('Captured oil tanker', main, setFlag, {flag= 100})

local sub= missionCommands.addCommand('Dubai oil field fires', main, setFlag, {flag= 110})

local sub= missionCommands.addCommand('CAS at Dibba', main, setFlag, {flag= 120})

 

-----------------------------------------------------------------------------------------------------

  • Recently Browsing   0 members

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