Per-sound loop flags in a playlist table
🌙 Lua•Updated 2 days ago•0 views
Store flags in the data table: snds = {{path="a", loop=true}, {path="b"}} then read snd.loop when loading each - avoids repeating loop=true lines.
How to set loop only for some sounds in a list
Store flags in the data table: snds = {{path="a", loop=true}, {path="b"}} then read snd.loop when loading each - avoids repeating loop=true lines.