Raised This Month: $ Target: $400
 0% 

Shuffle between sounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
devWaleed
Member
Join Date: Apr 2013
Location: Karachi, Pakistan
Old 04-25-2013 , 07:05   Re: Shuffle between sounds
Reply With Quote #3

Like this:

Code:
new sound[]	=	{"sound1","sound2","sound3"}
new key		=	random_num(3, 0)
//then use it like this to get random sound name?
sound["key"]

Last edited by devWaleed; 04-25-2013 at 07:05.
devWaleed is offline
Send a message via Skype™ to devWaleed
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode