I was really glad I read this entry in the last DCS Update - "Added subtitle support to radio triggers.
Now I tried to call it in lua, with the standard -
trigger.action.radioTransmission
But it did not work. Did I do something wrong, or has this not been updated yet? There was no error in the log. If its not supported in lua yet, can we expect this soon? It would really help my scripting, currently I have to do workarounds to get these effects and subtitles.
This is the Testcall I tried, based on a guess from this documentation:
https://wiki.hoggitworld.com/view/DCS_func_radioTransmission
function Communication.TestNewAPI(delay, micEffect, squelcheffect, text)
local unit = Unit.getByName("Player")
local point = unit:getPoint()
local watts = 50
-- 0 -> radio band UHF
trigger.action.radioTransmission("l10n/DEFAULT/geist.ogg", point, 0, false, 250000 * 1000, watts, 'message', delay, micEffect, squelcheffect, text)
end