trying to get a random music playlist to work

Get help using Construct 2

Post » Mon Jul 07, 2014 6:58 pm

trying to get a random playlist to work

i've tried to accomplish this a million time, my latest attempt looks like this

Global variable named "SongSlot" value ""

Event "playlist":
Every tick
SongSlot="" --> Set SongSlot to "choose("song1" ,"song2")

sub events of "playlist"
SongSlot = "song1" --> Play song1

SongSlot = "song2" --> Play song2

every time it rolls song1 it plays fine but when song2 should be playing it's completely silent and i'm starting to run out of ideas here
B
6
S
1
Posts: 7
Reputation: 404

Post » Tue Jul 08, 2014 12:55 am

found a solution from arrays
B
6
S
1
Posts: 7
Reputation: 404


Return to How do I....?

Who is online

Users browsing this forum: dahu, ketramtu18, Syazanie Amirin and 9 guests