Jump to content
Sign in to follow this  
Tankbuster

Is player pointing weapon at object?

Recommended Posts

I've got a decent working version using cursorTarget, but now I see the new beta, 101144 claims to have fixed aimpos. It does mention aimpos only for gunners in vehicles, but I'm going to install it and try my old test missions. :)

---------- Post added at 01:40 ---------- Previous post was at 01:24 ----------

Ah well.. :(

It doesn't work for foot mobiles. Mind you, it doesn't work for vehicle gunners either and that's what the beta claims to fix. So much for that beta patch. Pft.

Share this post


Link to post
Share on other sites

Seems to work for me, for foot soldiers it always did in fact, since the function was introduced.

I believe you misunderstood it's use. From what I understand, you wanted it to return the target position, when it returns the unit aim position, the position of the barrel of the weapon of the unit you pass in the parameter.

Share this post


Link to post
Share on other sites

I think you are right, neokika, thank you. Perhaps are better name might have been muzzlePos. :)

If eyePos amd aimPos now work, I wonder if we can use those to extrapolate a real 'targetPos'?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×