enderalse/source/scripts/sound.psc

19 lines
677 B
Plaintext

Scriptname Sound extends Form Hidden
import ObjectReference
; Play this sound base object from the specified source
int Function Play(ObjectReference akSource) native
; Play this sound from the specified source, and wait for it to finish
bool Function PlayAndWait(ObjectReference akSource) native
; Stops a given playback instance of a sound
Function StopInstance(int aiPlaybackInstance) native global
; Set the volume of a given playback instance of a sound. Clamped between 0 and 1.
Function SetInstanceVolume(int aiPlaybackInstance, float afVolume) native global
; SKSE 64 additions built 2020-07-29 17:24:48.495000 UTC
SoundDescriptor Function GetDescriptor() native