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
) »
[Solved]Bug Random Int ?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [Solved]Bug Random Int ? (Read 1367 times)
stigma
Full Member
Posts: 218
[Solved]Bug Random Int ?
«
on:
October 06, 2023, 10:27:05 AM »
When I use the Random Int action from 1 to 3, the 3 never comes out. I have to do 1 to 4. Bug?
«
Last Edit: October 07, 2023, 05:37:14 AM by stigma
»
Logged
Omanah sur Steam :
https://store.steampowered.com/app/3662180/Omanah/
djaydino
Administrator
Hero Member
Posts: 7618
Re: Bug Random Int ?
«
Reply #1 on:
October 06, 2023, 04:38:27 PM »
there should be a check box 'Inclusive Max'
By default C# Random.Range does not include Max value (probably as its more used together with array's)
«
Last Edit: October 06, 2023, 04:40:44 PM by djaydino
»
Logged
Join the PlayMaker Discord Channel!
stigma
Full Member
Posts: 218
Re: Bug Random Int ?
«
Reply #2 on:
October 07, 2023, 05:36:39 AM »
exact. I didn't know what it was for. THANKS
Logged
Omanah sur Steam :
https://store.steampowered.com/app/3662180/Omanah/
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
[Solved]Bug Random Int ?