06.08.2010, 20:16
So I'm making a predator missile system that is a sort of like mw2's and the way it works is a player simply aims where he wants it to land and it'll land there. Here is my idea.
![](http://i34.tinypic.com/2wml65j.png)
1. GetXYInFrontOfPlayer for every meter in front of the player
2. Use Kye's MapAndreas to use the function that gets the highest Z coord of every desired X and Y pos that we just got
3. Use the GetPlayerCameraVector and keep comparing until the camerapos and the zcoords are less than 1 meter apart, then return those coords, and that's your target!
What do you guys think? Possible?
![](http://i34.tinypic.com/2wml65j.png)
1. GetXYInFrontOfPlayer for every meter in front of the player
2. Use Kye's MapAndreas to use the function that gets the highest Z coord of every desired X and Y pos that we just got
3. Use the GetPlayerCameraVector and keep comparing until the camerapos and the zcoords are less than 1 meter apart, then return those coords, and that's your target!
What do you guys think? Possible?