SetChannelDistance( channel, distance )

Set a volume adjustment effect due to distance. distance must be a value between 0 and 255. Returns 0 on error.

NOTE: Setting distance to 0 will cancel the effect

Example:


If SetChannelDistance(1, 12) = 0 Then
Print "Effect did not register"
End If