Jump to content
Sign in to follow this  
jinker

Question about ( random 1)

Recommended Posts

I've been searching for a few hours and there must be an answer but I can't find it.

I'm trying to edit the parameters on my mission for random weather, random AI skill and random time. The time works fine but the others do not.

My question is two fold...

First, when you use random 1, or 0.1 + random 0.9 you get something like this: 0.34921. Will that number work for something like setSkill which is scalar 0.0 - 1.0? For me it doesn't seem to be working.

Second, if you cannot use them, is there a way to get a random number with just one digit after the decimal?

Thanks for reading, I'm not much of a coder but I am trying ;)

EDIT

I'm a tired idiot :P

Ignore this post.

Edited by Jinker

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×