Hello everyone, I am quite new to the forums and also to 3D-Gamestudio. I own the 7.5 Special Edition and I am currently trying to make a small strategy game.

My problem is the following:
I have a map, containing a terrain and some objects,
with lite-c I placed a controllable unit in the game.
Now I want to move my unit by right-clicking on a certain spot of my terrain, using c_move (so I have the GLIDE option -> my unit has some collision-detection).
I just can't find a way to determine the coordinates my mouse has in the 3D-world on the terrain.
I searched on the internet and in my manual but the only method I can find is the "mouse_cursor.x / y" one.
This does not work for me since my map is bigger than the screen and also scrollable.

How can I determine the mouse-coordinates on my terrain, so I can tell my unit to go there?

Thanks for any help!