It means you tried to ask for an entry that was out of bounds for an array: For ex, asking for the 10th element of an array that only stores 5. Generally means your code isn't doing what you want it to, or you're not validating the value
It is not harmless, by the way. Usually a array overflow stops the current trigger and all actions after the faulty index read will not be executed anymore.
And loops will be broken D:
The rest is as nevir said - you must not try to access a field ( / index / array slot) higher than the maximum size of the array.
The error was something like that. It was red, and it popped up on the side of the game.
It seemed harmless, but it's still an error I want to know.
What was it?
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.
@Vicboy: Go
It means you tried to ask for an entry that was out of bounds for an array: For ex, asking for the 10th element of an array that only stores 5. Generally means your code isn't doing what you want it to, or you're not validating the value
Hint: In an array of length 10, the first element has an index of 0 and the last element has an index of 9.
If the array is defined as "size 10" in the GUI, it actually gets a size of 11, though
It is not harmless, by the way. Usually a array overflow stops the current trigger and all actions after the faulty index read will not be executed anymore.
And loops will be broken D:
The rest is as nevir said - you must not try to access a field ( / index / array slot) higher than the maximum size of the array.