Lorian667 Posted October 26 Posted October 26 (edited) 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 Edited October 26 by Lorian667 1
Oscar 21 Posted November 11 Posted November 11 trigger.action.radioTransmission("l10n/DEFAULT/geist.ogg", point, 0, false, 250000 * 1000, watts, 'message', micEffect, squelcheffect, text) you do not need to put a delay, the text is displayed for the duration of the audio message.
Recommended Posts