bandi94 Posted December 27, 2011 Share Posted December 27, 2011 i started expand a litel the shop and i wanna make hidra folow missel to hunter now i search on wiki i think about but i don't figured out how can i do that green circle when you aim whit hidra apear that green circle that folow the traget vehicle now i am stuck i don't know how to transform 3D position to 2D i mean the getElementPosition return x,y,z and i need the screen x,y 2D to can use dxDrawImage so if somebody do this already or know's some idea how to do this ? THX a lot ! Link to comment
bandi94 Posted December 27, 2011 Author Share Posted December 27, 2011 ok i know my english is not good so i will explain is steps: 1. hidra have heat seeking Rocket ,Rocket that follow the traget 2. I wanna make this for Hunter 3. ex. when you press ctrl button on hidra appear that green turning circle what is following the vehicle which was set as traget 4. now i need that "green turning circle" on my script so i thought to use dxDrawImage but for this i need x,y cordinates 5. how can i get for a vehicle that is on my screen the position's to can use dxDrawImage 6. if i use getElementPosition that return's x,y,z but i need x,y for dxDrawImage 7. I think now I've made to understand Link to comment
bandi94 Posted December 27, 2011 Author Share Posted December 27, 2011 yes i think that will do the jobb i can't test it right now bk i am not on a PC but i will test it soon as possible THX Mate ! Link to comment
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