Raised This Month: $ Target: $400
 0% 

How to get random round?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-28-2013 , 20:28   Re: How to get random round?
Reply With Quote #3

Quote:
Originally Posted by danonix View Post
As topic says, how to get random ROUNDS in each map, so sometimes function happens only one time in map, sometimes 3 times etc.
Your request is unclear. Do you want a random number of rounds OR a function that only happens a random number of times on a map? One or the other.


Quote:
Originally Posted by Napoleon_be View Post
new variable = random(100)
if(variable < 10) {
StartFunction()
}
That is a 10% probability of StartFunction() being executed. Not quite the same but I guess it could be an answer considering the poorly formed question.
__________________
fysiks is offline
 



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 20:40.


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