Arrays, data and combining

Blitz3D Forums/Blitz3D Beginners Area/Arrays, data and combining

Anthony: yep, I got almost the same solution myself, although yours is a bit more efficient and I will implement that. Thanks! I know I wasn't doing the right thing, but in Director it's possible to refer to a variable by 'building' the variable name from seperate components (in this case it would work if I'd used u\entity = copyEntity(value("tile"&levelData)). I guess that's the curse of switching languages...

I got a solution for my second question by the way: I just put a terminator 'magic number' at the end. So if the levelData = 0, it breaks the loop because it knows there won't be any other values coming.