3d music (updating with movement) [partially solved] in Developer Help
|
|
Apparently the main problem was in other modules of my project so the code written here is removed to avoid confusion it could give to other users.
I still didn't figure out how to make real 3d music or determine a music file's length, but I've learned how to make sound zones and use it for now to start/stop sounds. Thank you :).
|
falloff var (sound)
See also:
vars (sound)
x, y, z vars (sound)
Default value:
1
Within the falloff distance a 3D sound stays at the constant loudest volume possible. Outside of this distance it attenuates at a rate determined by the falloff.
Higher values will make sounds fade out more slowly as they get farther away. The distance of a sound is set by x, y, and z.