blooper 
Vars | |
| id | Internal ID of blooper, must be unique |
|---|---|
| name | User friendly name of the blooper, displayed in preferences menu |
| soundpath_list | List of sounds, one is chosen randomly each time the blooper is played |
Procs | |
| play_bloop | Plays the vocal blooper for all listeners, duration is controlled by length of the message argument |
| play_callback | Private callback function to actually play the sound, used for timers scheduled in play_bloop |
Var Details
id 
Internal ID of blooper, must be unique
name 
User friendly name of the blooper, displayed in preferences menu
soundpath_list 
List of sounds, one is chosen randomly each time the blooper is played
Proc Details
play_bloop
Plays the vocal blooper for all listeners, duration is controlled by length of the message argument
- speaker - Origin source of the blooper, used for 3D audio calculations and to set the cooldown
- listeners - List of mobs that will hear the blooper
- message - Chat message being sent, used to determine how long bloopers play for (longer message, more sounds)
- distance - Range at which the sounds will be heard
- volume - Volume the sounds will play at
- speed - How fast the bloopers will be, percentage between 0 - 100, converted and clamped to datum's min/max values
- pitch - How high-pitched the bloopers will be, percentage between 0 - 100, converted and clamped to datum's min/max values
- pitch_range - Amount of pitch variance for each blooper, percentage between 0 - 100, converted and clamped to datum's max/min values
play_callback
Private callback function to actually play the sound, used for timers scheduled in play_bloop