Jump to content

Recommended Posts

So I wanted to make programmable AB rounds that explode a few meters beyond the turrets current zeroed distance. I thought I could use currentZeroing but it only gives the manually zeroed distances (100,200,300,400,...), however i need to know the distance the gun automatically adjusts to when lasing the range. Is there any way to get that value?

Thanks in advance

Share this post


Link to post
Share on other sites

Maybe you could get the current distance to the laserTarget then add a few meters.

private _target = laserTarget gunner <vehicleName>;
private _dist = gunner _tank distance _target;
private _overShoot = _dist + 5;

 

Share this post


Link to post
Share on other sites

works well with helis and planes but for ground vehicles the gunner doesnt really have a laser

Share this post


Link to post
Share on other sites

I will use a keypress detector and then run screenToWorld, that should work

doesnt work, as the range goes through objects like houses or walls

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  

×