Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lolq

Pages: [1]
1
General / Re: Random number
« on: November 07, 2014, 12:22:37 pm »
Thanks for these answers :)
And the volatile was there just because i was trying all the pointless things that i knew won't work ;p

2
General / Random number
« on: November 07, 2014, 03:34:52 am »
Hey guys :)
I need a little help with my random number generation for drop function.
So, here is the way i wrote it:

(click to show/hide)

and here is rand:
(click to show/hide)

The problem is that when enemy1 and enemy2 are killed at almost the same time they alway both drop item, any idea why it's like this or maybe any other way to get random number? or maybe it's just a really really really big coincidence every time? ;d

Pages: [1]