Hey guys, I need to go up to 99999 in one of my games.....is this possible at all? My understanding is that the integer limit is 9999. Is there any way around this?? Thanks
Comments
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited March 2014
Hi @jorkos I'm not sure where you've got this info from - certainly for Mac GSC (but surely the same for Windows version) the maximum number is into the thousand millions (trillions).
Try a little experiment: make an integer attribute and input its start value as 1000000000
Then put an actor on-screen with a Display Text showing that attribute; it'll show just fine. Of course though, calculations "up in the heavens" here will inevitably go a bit wrong or start to round down to a much lower number at some point...
But if you're worried about a cut-off of 99999, you've got plenty of "headroom"; there's no worries at all. :-)
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
Very odd that you get this - I can't duplicate that behaviour at all... I click on the value place of a game attribute and type 99999, press return, and in the field it shows 99,999...
Comments
Hi @jorkos I'm not sure where you've got this info from - certainly for Mac GSC (but surely the same for Windows version) the maximum number is into the thousand millions (trillions).
Try a little experiment: make an integer attribute and input its start value as 1000000000
Then put an actor on-screen with a Display Text showing that attribute; it'll show just fine. Of course though, calculations "up in the heavens" here will inevitably go a bit wrong or start to round down to a much lower number at some point...
But if you're worried about a cut-off of 99999, you've got plenty of "headroom"; there's no worries at all. :-)
So where are you typing it - into a game, scene or self attribute initial value, or into something else?
Very odd that you get this - I can't duplicate that behaviour at all... I click on the value place of a game attribute and type 99999, press return, and in the field it shows 99,999...
No worries, @jorkos, and glad it's all working for you now. :-)