Usage:
WeaponTemplate.WeaponFire
name
Argument values:
argument 1: | PIAltFire, PIFire; most commonly PIFire |
Used in a total of 111 .con files: Aitemplates.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons, Bf1942/Levels
Example: (from objects/Vehicles/Land/AT25/Ai/Weapons.con)
rem *** Add gun ***
WeaponTemplate.Create AT25MainGun
WeaponTemplate.Burst 1
WeaponTemplate.Indirect 0
WeaponTemplate.MinRange 2.0
WeaponTemplate.MaxRange 250.0
WeaponTemplate.WeaponActivate PINone
WeaponTemplate.WeaponFire PIFire
WeaponTemplate.SetStrength Infantery 11.0
WeaponTemplate.SetStrength LightArmour 8.0
WeaponTemplate.SetStrength HeavyArmour 4.0
WeaponTemplate.SetStrength NavalArmour 0.0
WeaponTemplate.SetStrength Submarine 0.0
WeaponTemplate.SetStrength Air 1.0
Go to the WeaponTemplate properties list page, WeaponTemplate page, All Properties list, or Main scripting page.