playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Random in-inclusive max
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Random in-inclusive max (Read 1500 times)
wheretheidivides
Sr. Member
Posts: 496
Random in-inclusive max
«
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?
Logged
mdotstrange
Hero Member
Posts: 555
Re: Random in-inclusive max
«
Reply #1 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
Logged
Indie game dev and instructor at the Strange School.
Learn Playmaker at the Strange School!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Random in-inclusive max