Re: How to acces curentry Weapon's shot?
Use
Code:
gun.Magazine.NextRound
Properties you can access are:
Code:
Weapon.RateOfFire
Round.FireVel Override by setting AIFireVel (in m/s) on the Round.
Projectile.ClassName The AI may try to shoot through cover if MOPixel.
Projectile.Mass
Projectile.Sharpness
Projectile.GlobalAccScalar
Projectile.AirResistance
Projectile.AirThreshold
Projectile.Lifetime Override by setting AILifeTime (in ms) on the Round.
SourceBe sure to check if the magazine is not null first before you try to access NextRound or other properties.