TEMPEST.114 Posted February 24, 2023 Posted February 24, 2023 (edited) radio enum Edited March 2, 2023 by Elphaba
Grimes Posted February 28, 2023 Posted February 28, 2023 Dead link on some other page? null 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
TEMPEST.114 Posted February 28, 2023 Author Posted February 28, 2023 9 hours ago, Grimes said: Dead link on some other page? null I wasn't referring to the web page @Grimes I was talking about the enum.
Grimes Posted February 28, 2023 Posted February 28, 2023 The thread literally has the URL of the page screenshotted in the thread name. You are going to have to be more specific. 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
TEMPEST.114 Posted March 1, 2023 Author Posted March 1, 2023 On 2/24/2023 at 5:38 PM, Elphaba said: radio enum @Grimes I thought I was ^^^
Grimes Posted March 2, 2023 Posted March 2, 2023 I can't fix you. 1 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
rob10 Posted March 2, 2023 Posted March 2, 2023 I think the OP means that that function currently doesn't seem to exist in DCS (or asking to confirm the fact that it doesn't)?
TEMPEST.114 Posted March 2, 2023 Author Posted March 2, 2023 15 hours ago, Grimes said: I can't fix you. I'm fine, it's you that didn't follow English. Let's start again. THE RADIO ENUM DOESN'T EXIST BUT YOUR DOCUMENT SAYS IT SHOULD.
Chump Posted March 3, 2023 Posted March 3, 2023 (edited) @Elphaba Are you saying that the radio.modulation enum is not working for you? I did a quick test mission using trigger.action.radioTransmission() and it was working for both AM and FM. Are you seeing an error in the dcs.log somewhere regarding this enum? Would you please explain how you are using this, if not similar to what I'm doing? local zone = trigger.misc.getZone("test") trigger.action.radioTransmission("l10n/DEFAULT/test1.ogg", zone.point, radio.modulation.AM, true, 123000000, 100, "testAM") trigger.action.radioTransmission("l10n/DEFAULT/test2.ogg", zone.point, radio.modulation.FM, true, 30000000, 100, "testFM") Both sounds were heard on their respective frequencies (123MHz AM & 30MHz FM) using an A-10CII hot-start on the runway of Batumi and the trigger zone out in the sea a few miles away. Scripting doc about radio enum Edited March 3, 2023 by Chump Added reference 1
Grimes Posted March 3, 2023 Posted March 3, 2023 8 hours ago, Elphaba said: I'm fine, it's you that didn't follow English. Let's start again. THE RADIO ENUM DOESN'T EXIST BUT YOUR DOCUMENT SAYS IT SHOULD. See what happens when you use more than two words to describe a problem? It is possible to actually answer it. local m = {"radio"} for n, tbl in pairs(radio) do m[#m+1] = "\n " m[#m+1] = n if type(tbl) == 'table' then for n2V, n2T in pairs(tbl) do m[#m+1] = "\n " m[#m+1] = n2V m[#m+1] = " : " m[#m+1] = n2T end end end local msg = table.concat(m) env.info(msg) trigger.action.outText(msg, 20) You posit that radio does not exist. Allow me to retort. You're wrong. 3 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
TEMPEST.114 Posted March 3, 2023 Author Posted March 3, 2023 9 hours ago, Grimes said: See what happens when you use more than two words to describe a problem? It is possible to actually answer it. local m = {"radio"} for n, tbl in pairs(radio) do m[#m+1] = "\n " m[#m+1] = n if type(tbl) == 'table' then for n2V, n2T in pairs(tbl) do m[#m+1] = "\n " m[#m+1] = n2V m[#m+1] = " : " m[#m+1] = n2T end end end local msg = table.concat(m) env.info(msg) trigger.action.outText(msg, 20) You posit that radio does not exist. Allow me to retort. You're wrong. Your rudeness, hostility and arrogance knows no bounds does it? A little humility might be in order to counter all the people on here singing your praises constantly. see @Chump’s reply for how someone with empathy, patience and manners comports themselves. 9 hours ago, Chump said: @Elphaba Are you saying that the radio.modulation enum is not working for you? I did a quick test mission using trigger.action.radioTransmission() and it was working for both AM and FM. Are you seeing an error in the dcs.log somewhere regarding this enum? Would you please explain how you are using this, if not similar to what I'm doing? local zone = trigger.misc.getZone("test") trigger.action.radioTransmission("l10n/DEFAULT/test1.ogg", zone.point, radio.modulation.AM, true, 123000000, 100, "testAM") trigger.action.radioTransmission("l10n/DEFAULT/test2.ogg", zone.point, radio.modulation.FM, true, 30000000, 100, "testFM") Both sounds were heard on their respective frequencies (123MHz AM & 30MHz FM) using an A-10CII hot-start on the runway of Batumi and the trigger zone out in the sea a few miles away. Scripting doc about radio enum When I type it in visual studio code, I get there yellow squiggly lines under it and a warning that I need to fix. I don’t get that with everything else, so I took that that it didn’t exist anymore. I’m still new and learning but THANK YOU for showing me it is working and how to use it. As always, deepest respect for your help and tutelage.
Grimes Posted March 3, 2023 Posted March 3, 2023 1 hour ago, Elphaba said: Your rudeness, hostility and arrogance knows no bounds does it? A little humility might be in order to counter all the people on here singing your praises constantly. 1 hour ago, Elphaba said: When I type it in visual studio code, I get there yellow squiggly lines under it and a warning that I need to fix. I don’t get that with everything else, so I took that that it didn’t exist anymore. What we got here is failure to communicate. Just a short breakdown. 1. The thread had a title with "this doesn't exist: URL to wiki". 2. I responded with image of said wiki page. 3. You clarified it wasn't the website, but something else. 4. I asked what that was. 5. You provided zero new information 6. I upon realizing it was basically 1 post-reply a day going nowhere said something sarcastic. 7. You were rude in response, but provided enough information. 8A. Another person chimes in with an answer 8B. I make an example showing radio existing in DCS, and be a little rude back. 9. You reveal the problem is with your IDE. Perhaps you could look past any opinions you have of me as a person and realize that I do try to answer your questions in good faith. I'll try to dial back the "matter of factness" of my answers and to be more inquisitive when the problem isn't made clear. I matched the tempo with my first reply and it never recovered. I'd be nice to think even as much as a second question could've resolved it sooner. Suppose you do got me on the arrogance bit with me thinking I don't need to plainly ask for a track in every bug report in order to figure out what is going on. 3 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
ED Team BIGNEWY Posted March 3, 2023 ED Team Posted March 3, 2023 2 hours ago, Elphaba said: Your rudeness, hostility and arrogance knows no bounds does it? A little humility might be in order to counter all the people on here singing your praises constantly. please stop, Grimes is trying to help you. In the future please add as much detail to the initial post as possible, it will save any confusion when requesting help, reporting a bug or looking for assistance. thank you 3 Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal
macedk Posted March 3, 2023 Posted March 3, 2023 It is Friday. Happy face and onwards 2 OS: Win10 home 64bit*MB: Asus Strix Z270F/ CPU: Intel I7 7700k /Ram:32gb_ddr4 GFX: Nvidia Asus 1080 8Gb Mon: Asus vg2448qe 24" Disk: SSD Stick: TM Warthog #1400/Saitek pro pedals/TIR5/TM MFDs [sIGPIC][/sIGPIC]
Recommended Posts