• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

"Get Random Real"

Status
Not open for further replies.
Level 18
Joined
Jan 21, 2006
Messages
2,552
Randomization is something used quite a bit in programming. There is nothing mysterious about it at all, it simply generates a random number and shows it to us as a real within the user-specified interval.

It will calculate a "random" real with however-many decimal places a real type variable has. I think its 4 or 5.
 
He wasn't actually referring to using it, just the function itself; at least from my perspective.

because he said that the editor is crashing when he uses it, I get the feeling that he isn't placing anything inside the ()... hehe... and I cannot think of any other reason that GetRandomReal would crash the editor...
 
Status
Not open for further replies.
Top