how does this work...?
damn, I really need to figure out how this for loop works. I just can't find the time. It's a useful thing.
Thanks again!
A loop with a counter. In the example above, it will execute the code for each element in the GetObjectNamesByType array. i, hut are indices, where hut represents the current index of the array element, and i - I don't know what it's for, but it doesn't work without it.