How do I trigger sound once randomly?

Get help using Construct 2

Post » Sun Nov 16, 2014 8:23 am

I need to trigger a sound 1 time at a random time interval. Can't seem to figure this out. Thanks to anyone that can help!
B
21
S
6
Posts: 59
Reputation: 1,387

Post » Sun Nov 16, 2014 8:45 am

..................
You do not have the required permissions to view the files attached to this post.
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sun Nov 16, 2014 8:54 am

In this simple example a sound will play when the number is 5. You can modify the minimum and maximum numbers to randomize with the first action.
You can also modify it in a number of ways, for instance if you use a big range to randomize, you can keep decreasing the maximum range as time passes so the chance to play the sound will keep increasing with time.
You do not have the required permissions to view the files attached to this post.
B
75
S
29
G
17
Posts: 256
Reputation: 15,250

Post » Sun Nov 16, 2014 9:04 am

Perfect!...thanks so much to both of you! You guys are awesome! Korbaach..love the layout. Very much appreciated!
B
21
S
6
Posts: 59
Reputation: 1,387


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests