SetAsynchronyFire Property

Usage:
   ObjectTemplate.SetAsynchronyFire boolean

Argument values:

argument 1:    0, 1; most commonly 1

Description: This property specifies whether to fire all the firearms at the same time (= 0, default), or to fire them one by one (= 1). It is used for weapons which have multiple copies of the same weapon, i.e., AddFireArmsPosition is used multiple times for the weapon. This property is set to 1 for the B17's bombs, sub's torpedoes, and the Katyusha rocket launcher, i.e., weapons where the projectiles are fired in a series. In this way, each shot fires from a different position, cycling through the positions defined by AddFireArmsPosition.

Related properties: AddFireArmsPosition, MagSize, NumOfMag, ProjectileTemplate, RoundOfFire

Used in object types (and how often in each type): FireArms (11%)

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

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Sea/Common/Weapons.con)
   ObjectTemplate.Create FireArms TorpedTubBundle
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.SetAsynchronyFire 1
   ObjectTemplate.ProjectileTemplate Torpedo
   ObjectTemplate.ProjectilePosition 0/0/10
   ObjectTemplate.MagSize 2
   ObjectTemplate.NumOfMag 999
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 10
   ObjectTemplate.RoundOfFire 2
   ObjectTemplate.Velocity 25
   ObjectTemplate.AutoReload 1
   ObjectTemplate.AddFireArmsPosition 1.6/-0.499/0 0/0/0
   ObjectTemplate.AddFireArmsPosition -1.6/-0.499/0 0/0/0


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