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
10
S
4
G
2
Posts: 125
Reputation: 1,678

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

Join now the Discord C2server ;)
https://discord.gg/0eLPLj96B4tUr1D3

Check out this superb Plugin Manager

If you like my work you can donate some bucks ;)
Image
B
49
S
14
G
1
Posts: 237
Reputation: 4,889


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests