Skip to content

Commit

Permalink
Update Functions-Queue.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Dec 18, 2024
1 parent 73ab114 commit 98625a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/6.1/Functions-Queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
|`behaviour`|`VINYL_QUEUE` enum|Behaviour to use for the queue, see below |
|`loopQueue`|boolean |Whether to loop the queue by pushing stopping sounds to the bottom of the queue|
|`[gain]` |number |Local gain to set for the queue |
|`[emitter]`|GameMaker emitter |GameMaker emitter to play sounds on |

Create a new sound queue. A sound queue is used to play audio in a particular sequence which is useful to set up dynamic soundtracks, in-game radio stations etc. This function returns a queue index which can be used like the voice index returned by `VinylPlay()`. This means you can call `VinylFadeOut()`, `VinylPause()`, `VinylSetGain()` etc. targeting a queue and the queue will behave appropriately.

Expand Down

0 comments on commit 98625a9

Please sign in to comment.