Usage:
WeaponTemplate.IsThrown
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Used in a total of 3 .con files: Aitemplates.con, Weapons.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/GrenadeAllies/Ai/Weapons.con)
rem *** Add GrenadeAllies ***
WeaponTemplate.Create GrenadeAlliesAI
WeaponTemplate.Burst 0
WeaponTemplate.Indirect 1
WeaponTemplate.IsThrown 1
WeaponTemplate.MinRange 5.0
WeaponTemplate.MaxRange 20.0
WeaponTemplate.WeaponActivate PIMenuSelect4
WeaponTemplate.WeaponFire PIFire
WeaponTemplate.SetStrength Infantry 2.0
WeaponTemplate.SetStrength LightArmour 2.0
WeaponTemplate.SetStrength HeavyArmour 1.0
WeaponTemplate.SetStrength NavalArmour 0.0
WeaponTemplate.SetStrength Submarine 0.0
WeaponTemplate.SetStrength Air 0.0
Go to the WeaponTemplate properties list page, WeaponTemplate page, All Properties list, or Main scripting page.