Usage:
WeaponTemplate.WeaponActivate
name
Argument values:
argument 1: | PIMenuSelect1, PIMenuSelect2, PIMenuSelect3, PIMenuSelect4, PIMenuSelect5, PIMenuSelect6, PINone; most commonly PINone |
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/HandWeapons/WalterP38/AI/Weapons.con)
rem *** Add P38***
WeaponTemplate.Create P38AI
WeaponTemplate.Burst 0
WeaponTemplate.Indirect 0
WeaponTemplate.MinRange 0.0
WeaponTemplate.MaxRange 60.0
WeaponTemplate.WeaponActivate PIMenuSelect2
WeaponTemplate.WeaponFire PIFire
WeaponTemplate.SetStrength Infantry 3.0
WeaponTemplate.SetStrength LightArmour 0.0
WeaponTemplate.SetStrength HeavyArmour 0.0
WeaponTemplate.SetStrength NavalArmour 0.0
WeaponTemplate.SetStrength Submarine 0.0
WeaponTemplate.SetStrength Air 0.0
WeaponTemplate.SetSoundSphereRadius 80.0
Go to the WeaponTemplate properties list page, WeaponTemplate page, All Properties list, or Main scripting page.