You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trelemar
changed the title
In order to play the same sound effect again you have to use "sfx(-1)" before playing
"sfx(-1)" is required before playing same sound, duration parameter to sfx api.
Apr 10, 2017
added duration parameter sfx id [ note [ duration [ channel [ volume [ speed ] ] ] ] ] note - is absolute note = octave * 12 + note or string like "C#4" duration - how many ticks to play sfx = -1 by default, to play sfx infinitely
Even have to use
sfx(-1)
as an initializer.Also using a value greater than 4 (or less than 0) for sfx channel then the application will crash.
The text was updated successfully, but these errors were encountered: