Hey guys,
I am writing a plugin and am spawning my own helis in, I plan to have multiple helis at different points in the map.
I would like to know if its possible to change the accuracy of each one individually so they are all different? I know there is ConVar.PatrolHelicopter.bulletAccuracy but this is across all helis.
Any help is greatly appreciated,
Kriogenic.
Adjust helicopter accuracy on a per heli basis?
Discussion in 'Rust Development' started by Kriogenic, Feb 8, 2017.
-
It has been a few days with no reply so I am going to bump this one time only in hopes of an answer. It has been puzzling me for quite some time now
-
Although, I am not yet familiar with C# so I wouldn't know how to do it.
(Late Response) -
I am working on similar plugin and I think it's not possible to set it up for particular helicopter. Anyway you can use heli.bulletDamage and heli.bulletSpeed to modify their power a bit.
And look at PatrolHelicopterAI.FireGun(Vector3 targetPos, float aimCone, bool left);
the second parameter?