Random Events
#7

That should be random as it is, try testing it a bit more and see if you get different random.
Oh and for efficiency, you might want to either use
else if or a switch instead of if, if, if
because it has to evaluate all the if's each time, where as the others it only evaluates till it finds a match.

Reply


Messages In This Thread
Random Events - by HydraX - 07.02.2010, 23:53
Re: Random Events - by hvampire - 08.02.2010, 00:01
Re: Random Events - by HydraX - 08.02.2010, 00:05
Re: Random Events - by hvampire - 08.02.2010, 00:06
Re: Random Events - by HydraX - 08.02.2010, 00:28
Re: Random Events - by hvampire - 08.02.2010, 00:48
Re: Random Events - by mansonh - 08.02.2010, 04:11
Re: Random Events - by Calgon - 08.02.2010, 04:31
Re: Random Events - by HydraX - 08.02.2010, 22:35
Re: Random Events - by Calgon - 09.02.2010, 00:22

Forum Jump:


Users browsing this thread: 4 Guest(s)