when button is pressed play random sound?
idoistuff
Member Posts: 197
so I have actor button and 10 sounds, I would like it so when actor button is pressed play a random sound between 1-10
I know how to do this with 10 different actors, but is it possible to do it WITHOUT making 10 different actors and using spawning?
I know how to do this with 10 different actors, but is it possible to do it WITHOUT making 10 different actors and using spawning?
Comments
Some suggestions:
1. Go watch all these youtube videos: http://www.youtube.com/user/GameSaladCookbook
they will give you a terriffic foundation in how GS works.
2. Check out this thread on available demos. download a few, see how they work. That will further your knowledge on how to use GS.
http://gamesalad.com/forums/topic.php?id=11558
3. Use the search, every question I've seen you post today has been one people have asked before. But, if you really watch the videos and check out some demos, you could answer every one of them yourself.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
you need 1 attribute and make it random(1,10)
Then in a actor when rule =1 then play sound 1
etc.