Shrike88 Posted August 18, 2020 Posted August 18, 2020 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}) -----------------------------------------------------------------------------------------------------
Grimes Posted August 20, 2020 Posted August 20, 2020 It is not currently an input value. Would be nice to have though. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Shrike88 Posted August 25, 2020 Author Posted August 25, 2020 It is not currently an input value. Would be nice to have though. Thanks for the reply Grimes Nice to have indeed
Recommended Posts