- Found in:
- Dylbills PE
Description
Documentation Comment
set the sound source for the currently playing soundId to the passed in ref.
this function will only work for sounds playing from PlaySound or PlaySoundDescriptor from this script
I also found a strange bug. If the sound's source is the player and the player is in first person, this function will fail to set the ref as the new source.
If however the player is in third person, this function will succeed in setting the ref as the new source for the sound instanceID
Parameters
intinstanceID
ObjectReferenceref
Examples
Auto-Generated Example
int myInt__instanceID
ObjectReference myObjectReference__ref
bool returnedValue = DbSkseFunctions.SetSoundInstanceSource(myInt__instanceID, myObjectReference__ref)