Player overlapping tree = opacity 50
Player not overlapping tree = opacity 100
Yes, How is that humanly possibly difficult to understand? -.-
Edit: Oh I realise your suggesting code, I don't know if that would work because wouldn't you need to check each tree object with a For Each?
Edit 2: I'm a fruit!! It worked:
<img src="http://screensnapr.com/e/xCEjeZ.png" border="0" />