integer above 9999 ??
jorkos
Member, PRO Posts: 353
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
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. :-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
So where are you typing it - into a game, scene or self attribute initial value, or into something else?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
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...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
No worries, @jorkos, and glad it's all working for you now. :-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps