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: 58
Reputation: 1,385

Post » Sun Nov 16, 2014 8:45 am

..................
You do not have the required permissions to view the files attached to this post.
Image
B
64
S
23
G
7
Posts: 1,482
Reputation: 10,825

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
72
S
27
G
17
Posts: 254
Reputation: 14,971

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: 58
Reputation: 1,385


Return to How do I....?

Who is online

Users browsing this forum: bluesun66, plinkie and 3 guests