Daedalus Dock - Modules - TypesVar Details - Proc Details

sound_token

Vars

falloff_distanceSound falloff distance
falloff_exponentSound falloff
listenersk:v list of mob : sound status
null_soundNull sound for cancelling the sound entirely.
rangeSound maximum range
soundThe master copy of the playing sound.
sound_channelThe channel being used.
sound_statusStatus of the playing sound
sourceThe atom playing the sound.
volumeSound volume

Procs

AddListenerAdds a listener to the sound.
AddOrUpdateListenerUpdates the data of a listener, or adds them if they are not present.
RemoveListenerRemove a listener from the sound.
SetListenerStatusSet the status of a listener. Does not update the sound.
SetVolumeSetter for volume
listener_deafness_updateRespond to TRAIT_DEAF addition/removal
listener_movedRespond to a listener moving.
player_loginRespond to any mob in the world being logged into.
player_logoutRespond to any cliented mob becoming uncliented
source_movedIf 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.