how much is the flag limit? Because my game seems to be confusing flags with eachother so I assume I have reach some sort of limit
Printable View
how much is the flag limit? Because my game seems to be confusing flags with eachother so I assume I have reach some sort of limit
nevermind I've been told its a total of 32
... thats not a lot but yeah
Yeh I know, lots of people are reaching the limits of flags and values... I just use valueAdd extension
32 but it's basically accessed like moduloQuote:
Originally Posted by MechaBowser
so if you're using flag "36" it'll actually junk up flag 4
There are actually 33 flags! 0-32 will work. :)
Well, flags are stored in a long integer, 4 bytes, 32 bits, so there only are 32 flags possible.
Wow, really? 32 flags? o_O
I really imagined there were unlimited number of flags, being that I could use any number I wanted. Even #'s above 100 worked. X_X
But I never used over 32 flags so I didn't really see a problem. @_@
Hi everyone. It is 0-31 for flag numbers.
Marv
It really should have a notice at the top of the 'enter flag number expression screen' saying '0-31'.
Indeed. The modulo operation makes it even more confusing. Imagine someone uses all flags extensively and doesn't know why his app's randomly turning flag 2 on/off - because he used flag 33...