6 October 2016
playsound (Commands) | |
---|---|
Type | Corrade progressive command |
Command | playsound |
Description | The playsound command is able to play a sound asset, either from inventory or referenced by an UUID at the current or specified location. |
Permissions | interact |
Parameters | group , password , item |
Last Changes | Release 9.133 - The command now can take a path instead of a name. |
The playsound
command is able to play a sound asset, either from inventory or referenced by an UUID at the current or specified location.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
playsound | group , password , item | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ // Play the sound asset // named "Boo!" from // the bot's inventory "command", "playsound", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", wasURLEscape("/My Inventory/Notecards/Boo!") ] ) ); |
Optional Parameters | Possible Values | Description |
---|---|---|
gain | Any float in the interval . | The volume at which the sound is played with being totally silent and representing full volume. |
position | A vector as a region position. | Plays the sound at the given position. |