sound_token 
Vars | |
falloff_distance | Sound falloff distance |
---|---|
falloff_exponent | Sound falloff |
listeners | k:v list of mob : sound status |
null_sound | Null sound for cancelling the sound entirely. |
range | Sound maximum range |
sound | The master copy of the playing sound. |
sound_channel | The channel being used. |
sound_status | Status of the playing sound |
source | The atom playing the sound. |
volume | Sound volume |
Procs | |
AddListener | Adds a listener to the sound. |
AddOrUpdateListener | Updates the data of a listener, or adds them if they are not present. |
RemoveListener | Remove a listener from the sound. |
SetListenerStatus | Set the status of a listener. Does not update the sound. |
SetVolume | Setter for volume |
listener_deafness_update | Respond to TRAIT_DEAF addition/removal |
listener_moved | Respond to a listener moving. |
player_login | Respond to any mob in the world being logged into. |
player_logout | Respond to any cliented mob becoming uncliented |
source_moved | If the sound source moves, update all listeners. |
Var Details
falloff_distance 
Sound falloff distance
falloff_exponent 
Sound falloff
listeners 
k:v list of mob : sound status
null_sound 
Null sound for cancelling the sound entirely.
range 
Sound maximum range
sound 
The master copy of the playing sound.
sound_channel 
The channel being used.
sound_status 
Status of the playing sound
source 
The atom playing the sound.
volume 
Sound volume
Proc Details
AddListener
Adds a listener to the sound.
AddOrUpdateListener
Updates the data of a listener, or adds them if they are not present.
RemoveListener
Remove a listener from the sound.
SetListenerStatus
Set the status of a listener. Does not update the sound.
SetVolume
Setter for volume
listener_deafness_update
Respond to TRAIT_DEAF addition/removal
listener_moved
Respond to a listener moving.
player_login
Respond to any mob in the world being logged into.
player_logout
Respond to any cliented mob becoming uncliented
source_moved
If the sound source moves, update all listeners.