There's a good thread here:
Project M54 Engine: Hydraulic Lifters - E46Fanatics, it explains the operation of the lifters, and what usually causes the tick. Theyre located in the head, so I'd definitely rule everything else out first!
Still waiting to hear what weight oil youre using....