Possible to play audio from random point in the track?

Get help using Construct 2

Post » Fri Apr 03, 2015 9:56 pm

I want to have a function that plays a single audio file at random points in the track but I'm not sure this is possible. I would rather go this route than to spawn an object at random that plays a clip but that's what I've been doing to get by.

Any ideas?
B
11
S
4
G
2
Posts: 127
Reputation: 1,707

Post » Fri Apr 03, 2015 10:56 pm

You can use the "Seek to" function available in the Audio object

"Seek to
Seek a currently playing sound to a different location in the audio file. The time to seek to is given in seconds."
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
52
S
15
G
1
Posts: 244
Reputation: 5,481


Return to How do I....?

Who is online

Users browsing this forum: radbrothers and 6 guests