Oh nice thanks, ill give it a shot and edit here how it goes.
Thanks.
I dont think it works how i need it to.
i set the mapping to 50, all trees were invisible.
i put it to 90, all trees were completely visible and solid
i put it to 80, all trees invisible again.
Took out dbSetObjectTransparency (499,4);, to see if it caused the problem, but now it wouldnt change visibility at all.
Finally changed it to dbSetObjectTransparency (499,2); (with other variants) It does do transparency but it leaves a distinct white outline around the leaves and trunk of the tree.
Is there any way i can fix this?
[edit]i made it dbSetObjectTransparency (499,10); it still leaves a white outline but its livable, thanks dude.
Smoke me a kipper, ill be back for breakfast.