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
12
S
4
G
2
Posts: 132
Reputation: 1,749

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
B
56
S
16
G
1
Posts: 249
Reputation: 5,721


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo and 30 guests