Hi,
How many flags per object are allowed?
What is the limit on number of paragraphs on the string object?
Do alterable values have a maximum and minimum number?
Thanks in advance.
Hi,
How many flags per object are allowed?
What is the limit on number of paragraphs on the string object?
Do alterable values have a maximum and minimum number?
Thanks in advance.
1. Flags: 0-31
3. Alterable Values: 26. I have never reached a limit on maximum number for an alterable value. Minimum - default is 0.
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
AV's can go from around the +/- 2,000,000,000 range as integers; too much higher or lower and they are converted to floats and can represent larger numbers (but you lose precision)
i don't know where the exact cutoff between min/max int is before it's converted to a float; i figured it would be -2147483648 and 2147483647 but those seem to be converted to floats as well
how do u set flags up
Angelfox. I answered this question on your previous question.
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
yea i was coping and pasting info to help him but it got that
woops
Thanks guys, useful info. Any idea on the paragraph limit? If there is one, and it's under 1000, I'm going to have some problems later on in my project.
I think it's 1 inside those.Originally Posted by xyzzy
Floating point numbers (floats) can represent both small fractions and very big numbers, but not at the same time. If your number is above the ~2,000,000,000 limit of an integer, so that MMF represents it as a float, you're not going to reliably be able to add "1" to it because there won't be the precision available to do it.
Though I know most of MMF can handle double-precision numbers now, which have 48 bits of precision instead of 23, so you'd probably have to go over 281,474,976,710,656 before you couldn't add just "1" any more.
EDIT: No idea about the limit on paragraphs if there is one, sorry.
I'm fairly sure the paragraph limit isn't under 1000 (I remember making one game ages ago that had a string with at least upwards of 700)... however, if you're finding yourself needing over 1000 paragraphs you might want to look into storing them somewhere more convenient like in an external file.
why dont you create a small test program for the paragraphs?
Start a loop 5000 times and on each loop, create a paragraph and see how many you can store? Just an idea