How do you call Randomize?

While researching the rand() function, I came upon a line in the library which apparently says that rand() isn’t truly random unless randomize() is called. Upon reflection and experimentation, I found this to be true. The problem is, How and Where to I call randomize()?

I hate to sound like a n00b, but I just can’t figure out if I’m supposed to stick it in the code somewhere or - Oh God Please No - replace every instance of rand() with randomize().

Please tell me I just have to flag it as “on” somewhere. X_X

You only have to call randomize() once. You need to call it before you use rand(), so the best place to call it is either gameMain.showIntro() or an InitObject. I’d use showIntro(); it’s simpler.

Oh thank you so much! :mrgreen: