[Feature Request] Add feature to play different sounds for screens using Lua files #234
EngineMachiner
started this conversation in
03 - Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to use different or custom Common start/cancel sounds for a screen but it seems to be attached only to one ogg file or redir and lua files can be only used as ScreenExample music.lua so it would be a good idea (at least for me) to make it possible to run lua files that maybe return the path of the sound file like ScreenExample music.lua or maybe return a Def.Sound{} (because I could iterate through a list of screens and check with SCREENMAN:GetTopScreen():GetName())
Maybe let it work with in/out transitions, it might be good to reduce the quantity of redirs if someone wanted to use less sounds too.
Beta Was this translation helpful? Give feedback.
All reactions