Lua Sound Functions

SkippyBing
Posts: 14
Joined: Sat Mar 31, 2012 10:45 am

Lua Sound Functions

Postby SkippyBing » Thu Oct 12, 2017 8:58 pm

Is there a sample XML gauge that shows how to implement the Lua sound functions?

I can get soundOneShot to work easily enough but whenever I try and get soundSetProperties to play a looping sound it just ends up repeating the first 18th of a second of the file as the gauge refreshes itself. If I set up a check routine to only trigger the loop the first time the gauge runs through then it stops the playback completely on the second cycle.

I'm guessing I'm not doing something that's so obvious I'm failing to see it!! Any hints greatly appreciated.

Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 2 guests