Overview

An AutoDefenseDevice is a miscellaneous device, acting as a weapon that fires without the player's control. It is often used for missile defense.

Attributes

rechargeTime= DEPRECATED: Replaced by fireRate

fireRate= The time in 1/60 sec between shots. Defaults to 15.

weapon= The UNID of the weapon that this device uses.

interceptRange= Controls the maximum range in light-seconds in which this device can fire at targets. Defaults to 10.

targetCriteria= Controls what objects this device can fire at. See the legend.

target= If targetCriteria is not defined, then this is used instead. Can only be set to “missiles”.