Can someone please give me an example script of how I would use this on, say, a tree?
I know i need to give the tree a reference name and make it a persistent reference, but how would I use getcrosshairref to see if the player activated it?
Why not put a script with an OnActivate block on the tree? Otherwise, you'd have to keep looking at GetCrossHairRef until it was your tree's specific reference, then use IsControlPressed to check when the player pressed use.