I’m trying to set up a scene with very specific order of events. I’m getting what looks like the events acting out of order where there is a loop involved which makes me think I am misunderstanding something.
Say I have two events A and B. If A is a for each instance loop with three objects and B is an event on the same level placed underneath I would expect the events to go in the order
A1, A2, A3, B
But I seem to be getting
A1, B, A2, B, A3, B
For more context, the loop in question is nested and uses the pathfinding function to look for a path between pairs of points. I might have 3 start points and 2 end points
For Each Start
For Each End
Move a test object from Start to End and test if a path has been found
TBH, I’ve found the pathfinding to be a bit funky as it ignores obstacles created immediately before the pathfinding is called. It requires a small wait for the pathfinding to recognise the new obstacles.