Bachfire, my view is, if you have a limited number of objects (e.g. 100 or so) use the loop method a la Brucey. For a beginner this is the least complicated way and will be quick enough. Once you start getting to a 1000s of object you might need to look into TMaps or saving the TLink in the type. These are considered a bit more complex (although some will argue otherwise).
I don't know what you're doing but I didn't know Tmaps existed for the first year and didn't really miss them.
For much of my 'tinkering' I still use the looping method. It helps to be aware of optimisations but you don't necessarily need to use them.
Run through that tutorial I link to as it REALLY helped me and many others here.
I don't know what you're doing but I didn't know Tmaps existed for the first year and didn't really miss them.
For much of my 'tinkering' I still use the looping method. It helps to be aware of optimisations but you don't necessarily need to use them.
Run through that tutorial I link to as it REALLY helped me and many others here.