something started in the past and continued for a time in the past)
- We had been waiting for your family to answer till yesterday.
- Had you been waiting for the answer more than a week?
- How long had you been wainting for me?
- She had not been waiting there longer than an hour.