Added event: WAIT_WHILE_UNIT_AGENTS_ACTIVE.