Sound.loop

From MiniScript Wiki
Revision as of 23:05, 1 April 2020 by 71.226.33.30 (talk) (Created page with "<c>Sound.loop</c> controls whether a sound will play just once (false) or will repeat indefinitely (true) when played with Sound.play. <ms>s = file.loadSound("/sys/so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sound.loop controls whether a sound will play just once (false) or will repeat indefinitely (true) when played with Sound.play.

s = file.loadSound("/sys/sounds/bonus.wav")
		//	s.loop = true
		//	s.play; key.get; s.stop