Sound Script: Difference between revisions

Jump to navigation Jump to search
9 bytes added ,  20 February 2012
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Jog
Line 16: Line 16:


== Global Functions ==
== Global Functions ==
*Function [[SetInstanceVolume - Sound|SetInstanceVolume]](int aiInstanceID, float afVolume)
'''Function [[SetInstanceVolume - Sound|SetInstanceVolume]](int aiInstanceID, float afVolume)'''
**Modify the volume of a playing sound instance. Values outside of 0.0 - 1.0 will be clamped.
*Modify the volume of a playing sound instance. Values outside of 0.0 - 1.0 will be clamped.
*Function [[StopInstance- Sound|StopInstance]](int aiInstanceID)
 
**Cause the given playback instance to cease playback. The next time the sound is played it will have a new instance ID.
'''Function [[StopInstance- Sound|StopInstance]](int aiInstanceID)'''
*Cause the given playback instance to cease playback. The next time the sound is played it will have a new instance ID.


== Member Functions ==
== Member Functions ==
Anonymous user

Navigation menu