Sound Script: Difference between revisions

Jump to navigation Jump to search
8 bytes added ,  20 February 2012
imported>Jog
imported>Jog
Line 23: Line 23:


== Member Functions ==
== Member Functions ==
*int Function [[Play - Sound|Play]](ObjectReference akSource)
'''int Function [[Play - Sound|Play]](ObjectReference akSource)'''
**Plays this sound from the specified source object. The returned integer is the playback instance ID, which can be used to control the sound after it has been started.
*Plays this sound from the specified source object. The returned integer is the playback instance ID, which can be used to control the sound after it has been started.
*bool Function [[PlayAndWait - Sound|PlayAndWait]](ObjectReference akSource)
'''bool Function [[PlayAndWait - Sound|PlayAndWait]](ObjectReference akSource)'''
**Plays this sound from the source object, and waits for the sound to finish.
*Plays this sound from the source object, and waits for the sound to finish.


== Events ==
== Events ==
None
None
Anonymous user

Navigation menu