Download

Just Curious: Manual foreach loop works but macro version doesnt

Using the engines foreach loop makes it onyl print out the first index (0) but this works fine all 4 get printed. IDeas as to why, it just makes me worry. 10.4

Are you calling the return node on the loop execution pin of the engine for-each loop? If so, that explains why.

No I didnt which is why it was weird to me.

I never use the engine’s for loops (and for each loops) at all anymore. They’re very lousy, as far as I’m concerned. They don’t really work like you’d expect them to (except for extremely simple things) because there’s just too many things that break them. You’re much better off programming your own.