Ardenian
A
Ardenian
I use a function in my map that requires a local real r to be set to GetRandomReal( 0.00, 100.00):
It is supposed to run multiple times. However, it did not work appropriate.
After hours of debugging and desperatly beating my head against the walls I debugged r and noticed: It is not random!
Every game, the 'random' values are exactly the same!
Is this a known issue ? It is absolutly impossible the reason for this lies elsewhere. How can I workaround this ?
The function is written in a converted GUI trigger, not the map header.
JASS:
set r = GetRandomReal( 0.00, 100.00)
It is supposed to run multiple times. However, it did not work appropriate.
After hours of debugging and desperatly beating my head against the walls I debugged r and noticed: It is not random!
Every game, the 'random' values are exactly the same!
Is this a known issue ? It is absolutly impossible the reason for this lies elsewhere. How can I workaround this ?
The function is written in a converted GUI trigger, not the map header.