Background for Fallout 4
Member of the Sound script
intfunctionPlay(ObjectReferenceakSource)Native

Description

Wiki Description

Plays the sound from the location of the specified object reference.

Documentation Comment

Play this sound base object from the specified source


Caveats


Parameters

ObjectReferenceakSource

CK Wiki Description

The ObjectReference to play the sound from.


Examples

int instanceID = mySFX.play(self)          ; play mySFX sound from my self
Sound.SetInstanceVolume(instanceID, 0.5)         ; play at half volume

Auto-Generated Example

ObjectReference myObjectReference__akSource

int returnedValue = mySound__toCallFunctionOn.Play(myObjectReference__akSource)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.