Deviation Property

Usage:
   WeaponTemplate.Deviation number

Argument values:

argument 1:    range is 2.0 to 5.0; most commonly 2.0, 5.0

Used in a total of 5 .con files: Weapons.con

Parent directory of these .con files: objects/HandWeapons

Example: (from objects/HandWeapons/No4/AI/Weapons.con)
   rem *** Add NO4***
   WeaponTemplate.Create No4AI
   WeaponTemplate.Burst 0
   WeaponTemplate.Indirect 0
   WeaponTemplate.Deviation 5.0
   WeaponTemplate.MinRange 0.0
   WeaponTemplate.MaxRange 200.0
   WeaponTemplate.WeaponActivate PIMenuSelect3
   WeaponTemplate.WeaponFire PIFire
   WeaponTemplate.SetStrength Infantry 4.0
   WeaponTemplate.SetStrength LightArmour 0.0
   WeaponTemplate.SetStrength HeavyArmour 0.0
   WeaponTemplate.SetStrength NavalArmour 0.0
   WeaponTemplate.SetStrength Submarine 0.0
   WeaponTemplate.SetStrength Air 1.0
   WeaponTemplate.SetSoundSphereRadius 150.0


Go to the WeaponTemplate properties list page, WeaponTemplate page, All Properties list, or Main scripting page.