RED Posted September 6, 2022 Posted September 6, 2022 SP working correctly as far as i tested. In multiplayer I could only play a sound with an ID=1. It plays for all clients in the mission instead of only clients occupying the unit with ID=1. outTextForUnit seems to work correctly btw. To reproduce, load the attached mission on a multiplayer server and occupy a slot other than the first blue Hornet slot which is ID=1. You will hear the sound every 5 seconds that should only be heard in the first Hornet slot. Firing a missile will also trigger the function with the ID of the launcher unit. You can't hear the sound since ID != 1 in the other slots. report_soundout.miz
Flappie Posted September 7, 2022 Posted September 7, 2022 Hi RED, thanks for the mission. I tried a few times on current OB and I always get the same result, both in SP and dedicated MP: Sound is heard in both 'Aerial-1' aircraft. Sound is not heard in all other aircraft (although I'm seeing text messages saying sound ID=1 is being played). From what I read in your post, I'm getting what you're not getting in MP, right? ---
RED Posted September 8, 2022 Author Posted September 8, 2022 10 hours ago, Flappie said: I tried a few times on current OB and I always get the same result, both in SP and dedicated MP: Sound is heard in both 'Aerial-1' aircraft. Sound is not heard in all other aircraft (although I'm seeing text messages saying sound ID=1 is being played). From what I read in your post, I'm getting what you're not getting in MP, right? Thanks for testing. Interesting. Yeah, that is different. I will test again to make sure. I also included other people in testing to check if it is the same for every client. We are on the latest openbeta currently. What you are describing is still a problem as that is how the outSoundForGroup function would work with the "Aerial-1" group of aircraft. With outSoundForUnit the sound should still be only heard in the "Aerial-1-1" unit. So you could report that. You can see the unit ID in the ME if you open the unit list.
RED Posted September 8, 2022 Author Posted September 8, 2022 Ran a quick test again. Multiplayer track attached if that helps anything. I can confirm what you are seeing in multiplayer, however it still works correctly in singleplayer. My suspicion is that the outsoundforunit works like outsoundforGroup in multiplayer. That is why you can hear it in both units with group ID =1. If you fire the missile you also get no sound in the other units as their unit ID does not match their group ID. report_soundout-20220908-130141.trk 1
Grimes Posted September 16, 2022 Posted September 16, 2022 Reported. 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
Riddick Posted February 8 Posted February 8 (edited) I have the same problem with the outSoundForUnit function. This steel doesn't work. Edited February 8 by Riddick 1
ED Team BIGNEWY Posted April 19 ED Team Posted April 19 21 minutes ago, Lekaa said: Happy Easter @BIGNEWY could you check with the team? Thanks Happy Easter weekend to you also. I have asked the team about the issue, if I get any news I will try to let you know. 1 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
Recommended Posts