Camera event only chooses false path.

I want the camera event to switch after enemies die or when the player is far enough away from danger.


(I connected the loop after this pic)

hi @Codename_Prince

You havent placed anything in the loop so you are taking only the final result.

In your loop section you need to set a bool variable.

So in practice:

Boolean Variable called: isTooFar = true (presume its too far)

Loop > check current actor is too far if it is not then set isTooFar to false

Completed > Branch on isTooFar > if true move camera

Consider using a for each loop with break, as soon as it detects that at least 1 actor is close still then go to break

Loop > Check if character is still close > set isTooFar to true > break
Completed > Branch isTooFar > true > move camera , false > do nothing

Its either I’m missing something, or this doesn’t work. Can you send a screenshot, please?

Wait…an overlap event may be better to use to achieve a similar result.