Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: wheretheidivides on December 12, 2014, 10:07:13 PM

Title: Random in-inclusive max
Post by: wheretheidivides on December 12, 2014, 10:07:13 PM
The 'random int' has a 'inclusive max'.  the following page does not go over what it does.
https://hutonggames.fogbugz.com/default.asp?W87

So if I say,
min=1 and max=3,
then not checked is 1 or 2?
and checked is 1, 2 or 3?

Title: Re: Random in-inclusive max
Post by: mdotstrange on December 12, 2014, 10:10:23 PM
I believe that it just uses the "max" number- so if the min is 1 and the max is 3- by checking inclusive max it will generate a 1, 2 or 3- if its unchecked it will only generate a 1 or 2