How can I activate sound to play randomly in kismet?
i.e. how do I trigger the "play sound event" - I see I can create a "random int" variable but not sure exactly how to connect the random variable to the play sound box, etc. (want thunder sound to play randomly throughout game)
ALSO... it would also be nice to know how to do this in udk script too?
Which extended class would I put a "if random(100)=1 then play thunder.wav"?
would it go into my MYHUD.uc class (where the game automatically cycles through)?
Also... what is the exact code syntax for "play a sound" from script with random() function. just guessing its something like random_var=random(100)
Thanks



Reply With Quote


Bookmarks