How to Check All Booleans in Array Before Triggering Event?& question about Event Dispatcher

NPC (A) needs a full count of all NBC (B’s). (e.g. 5)
When a “B” completes its required action have it Interface call “A”.
NPC “A” can then increment Actions, then conditional check against the count.

IF (num Actions == Num B’s) → do the thing