Hi trying to make birds fly off as a flock but got this error can anyone help?

hi i am trying to make crows walk around randomly and fly off together as a flock but i got this error how do i fix it?

Looks really strange, you’re adding null to an array, setting variables with self?! Do the last 2 variables belong to this blueprint or the spawned actor? If it’s the latter:

Avoid plopping nodes on their own, leverage context sensitive behaviour - drag a wire first and then search. You’ll never run into an issue like this.

can not connect this

set leader variable type is this blueprint not spawn actor

So just set it normally by alt dragging the variable into the graph. The self makes no sense here.

set leader

How does it even make sense if this variable belongs to this blueprint, references self, and is set by self?

How is this supposed to work?

Each Bird is supposed know this blueprint is the leader to follow? In which case, the variable must belong to the Bird actor: