jackusCTB Posted January 18, 2013 Share Posted January 18, 2013 (edited) Hello, I need to know how to get the 3 coords of where the player is aiming at. The player will be in a plane and I need to find the X Y and Z as ground. Thanks! Edited January 18, 2013 by jackusCTB Link to comment Share on other sites More sharing options...
Silent Posted January 18, 2013 Share Posted January 18, 2013 Try to find Adler's (donated by me) Napalm Bombing mod. It has such a code snippet, plus it's open source. Link to comment Share on other sites More sharing options...
jackusCTB Posted January 18, 2013 Author Share Posted January 18, 2013 (edited) Try to find Adler's (donated by me) Napalm Bombing mod. It has such a code snippet, plus it's open source. Thanks, Z value was found Now I only need XY coords. I tried using 068D and 068E but I can't get them working Edited January 18, 2013 by jackusCTB Link to comment Share on other sites More sharing options...
Silent Posted January 18, 2013 Share Posted January 18, 2013 I'm pretty sure that the snippet gets XYZ coordinates (corona is placed on XYZ coords). Just look how it's used. Link to comment Share on other sites More sharing options...
jackusCTB Posted January 18, 2013 Author Share Posted January 18, 2013 I'm pretty sure that the snippet gets XYZ coordinates (corona is placed on XYZ coords). Just look how it's used. Yeah but i need to move the marker on XY coords. Now i can only launch a missile below the plane. I use Car.Storepos([email protected], [email protected], [email protected], [email protected]) then [email protected] = ground_Z at [email protected] [email protected] [email protected] the marker should be moveable using the mouse, so it should be always in the middle of the screen. To make this i think i should use 068D and 068, but i'm not able to Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now