At “is valid”, i wanna checking actor spawned or not, if it’s spawned, so add into array
if it’s not spawned so clearing array to relooping to spawning new actors in new looping.
Problem here is if Is valid node return “Is not valid”, it’s starting infinite looping.
Anyone can help me explain what’s going on here ? ( Array vectors checked before was good and can not closed together enough to overlap ??? )
Thanks for helped bro, i don’t understanding all what you said, but as you said i got that have 2 looping after Is Valid node running same time there.
That’s not what i want, i want first loop ( going to Add node ) will stop if 2nd looping start ( going to Clear node ). Is that your blueprint you suggest for solve that ?
Yes. If you do not Break the initial loop, you’ll be just repeating the same execution validation indefinitely. I’ve assumed the data you pipe into the Actor Class changes somehow between the executions (we can’t see that). If it does not change, you’ll be stuck again repeating the same failed validation.
It’s not working.
I was wondering what happen if it’s flowing to Completed after Break
But as i let PIE running, it’s flowing from Sequence to Break in For Each Loop with Break node then come back with 1 pin in Sequence immediatly, so i guess it’s not going to Completed after Break.
Problem here is seem’s Break doesn’t working ??
I was clear actors array so it should be cleared and nothing there could making overlap to it if the first looping was break, right ???
It’s impossible to tell what is going on there from the shown snippet, there’s also a While Loop there now… It’s this:
I’ve assumed the data you pipe into the Actor Class changes somehow between the executions (we can’t see that). If it does not change, you’ll be stuck again repeating the same failed validation.
Your data does not change, neither the result. Seems like you’re testing the same thing all over again.
Yah, i didn’t think about looping still running there even flowing not moving pass node anymore.
So i was not thinking While Loop outside could be join this problem.
Can i asking any other way can break looping except For Each Loop with Break ? i’m try to finding but still not get a good way to try.
This is an issue of the logical execution flow. Fix the logic. No other method will help since it will run into the same problem. You have a circle and want to do both, stay inside and outside of it at the same time.
this’s my actors array to spawn, i don’t think problem from here. Cuz this problem is not happen all time, i just catch it to find out what happen when it’s happening