Extended from BaseObject Sound¶
This class is used to play sounds
Properties¶
number Range¶
This is the SoundEnvironment of the scene
number MaxVolume¶
This is the ParticleEnvironment of the scene
boolean DistanceFading¶
The volume will depend on the player distance
Character Subject¶
This table stores all the objects in the scene
Methods¶
Sound Constructor(
)¶
void SetSubject(subject: Character, useSceneSoundGroup: boolean?
)¶
Sets the provided character as subject, if is provided a sound group, this will be the new sound group of the sound
Events¶
Name |
Description |
---|---|