Would there be any possibility to get a playSound3D equivalent command to play a sound file that would be played by, and thus be attached to, an object?
So something like playSoundObject
As in making something like this possible where the played sound would follow the object (pseudo code):
<object> playSoundObject ["A3\Sounds_F\sfx\alarm_independent.wss", the, rest, of, playsound3D, params, n, stuff]; <object> setVelocity [0, 200, 0];
For a layman this sounds like it should be possible because basically every single sound in the game is attached to some object and follows its movement, and createSoundSource creates an object that can be attached to another object and the sound follows the object(s). 🤔
Of course would be nice if it also returned a handle to stop the sound with.
Reasoning is that we still have no dynamic way to play sounds from a file that follow object, because either it requires you to config sounds and (ab)use say3D which many times involves creating a dummy object that says the sound, or config even more stuff to use above mentioned createSoundSource.