C++ Event with two box trigger

I would like to destroy a wall when the player passes on two trigger box, but with my actor class (where I creat the wall and the two trigger box) I can’t have two different box and place them where I want.
I really don’t understand, how can I do?
Thx for your answers.