Author Topic: Changing the volume of an alx sound while it's playing  (Read 1925 times)

I'm trying to make an FTL gamemode that plays from the crew's prespectives, so I was wondering if it was possible to change a sound's volume while it's playing to make a mix track.

Is it possible or will I have to resort to hacky badness... again?

EDIT: Hurr this goes in Coding Help. WTF brain.
« Last Edit: October 16, 2013, 10:57:02 PM by Xalos »

::alxSetChannelVolume
usage: (int channel_id, float volume)

@param channel_id  ID of channel to set volume on.
@param volume      New volume of channel, from 0.0f-1.0f


Currently trying to figure out how to specify the channel when playing a sound.

channel_id refers to the type field of an AudioDescription datablock.
« Last Edit: October 17, 2013, 03:22:40 AM by Port »