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 float is inconsistent?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Random float is inconsistent? (Read 1857 times)
ptrlo
Playmaker Newbie
Posts: 31
Random float is inconsistent?
«
on:
October 09, 2014, 02:31:01 AM »
Min is -1.3 and max is 7.5, yet I see it go to 8 and 9, and for some reason it prefers 6-9 heavily, creating objects (it's supposed to be a random spawn) only on one side... What's going on?
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Random float is inconsistent?
«
Reply #1 on:
October 09, 2014, 06:53:44 AM »
This usually happens when something else is modifying the float after it is randomized.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
ptrlo
Playmaker Newbie
Posts: 31
Re: Random float is inconsistent?
«
Reply #2 on:
October 09, 2014, 05:35:34 PM »
I actually observed the float as it was changing having the game live, and saw the value change beyond the min/max and favor the upper part of the max. What to do?
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Random float is inconsistent?
«
Reply #3 on:
October 09, 2014, 05:45:45 PM »
Can you post a simple repro scene?
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Random float is inconsistent?