So.
I need a way to get the point at what the middle of the screen is pointing to. (like clicking there with an ability selected) This should work for different camera angles because im planing on using that for first or third person view. The mouse will be locked to the center so getting the point where the mouse is pointing at.
So the point on the terrain not on the screen... hope someone can help me.
btw. pointing to a tutorial or some map where this already works would be fine. But all of the tutorials/maps I've seen included a system in which projectiles are launched from the unit's position by a trigger.
It should work like in that map: http://www.youtube.com/watch?v=IO5wNBiVrnU
But I have no idea how it is done...
I need a way to get the point at what the middle of the screen is pointing to. (like clicking there with an ability selected) This should work for different camera angles because im planing on using that for first or third person view. The mouse will be locked to the center so getting the point where the mouse is pointing at.
So the point on the terrain not on the screen... hope someone can help me.
btw. pointing to a tutorial or some map where this already works would be fine. But all of the tutorials/maps I've seen included a system in which projectiles are launched from the unit's position by a trigger.
It should work like in that map: http://www.youtube.com/watch?v=IO5wNBiVrnU
But I have no idea how it is done...