Variable Wont Count Up Past 400 Million
Hello, I am creating a cookie clicker-esque game. I figure the best way to learn is to make a projetc, however I cannot get my amount of cookies variable to get past 400 million. So my question is, Is there a max value for a variable to be in unreal?
UE4 reflection system uses 32-bit integers so it only fits what you can fit in 32 bits, in C++ there more options, including TBigInt which let you make infinitly big integers (i think, definitly memory is limit here :p), but reflection system does not support them so you won't have it blueprints. You can emulate TBigInt by combining few integers (I think thats what TBigInt do in C++ since C++ it self only support max 64-bit on 64-bit CPUs)
answered Jul 09 '15 at 02:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here