The collision detection is fairly easy, you can use
MAKE OBJECT COLLISION BOX and
OBJECT COLLISION(object1,object2) to get collision data.
But making the mouse point to a 3 dimensional location is much harder and requires some math. Especially if you want to be able to change the depth of that point. I don't think there is a command in DBC that returns a point in space from a point on the screen, I could be wrong though.
Like TDK said I suggest you start out learning the basics (variables, float variables, strings, loops, etc.)
Cory