Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# AttackParameters - Prototype Docs

## AttackParameters :: union

Loaded as one of the BaseAttackParameters extensions, based on the value of the `type` key.

#### Union members

ProjectileAttackParameters | Loaded when the `type` is `"projectile"`.
BeamAttackParameters | Loaded when the `type` is `"beam"`.
StreamAttackParameters | Loaded when the `type` is `"stream"`.

Type used in

- ActiveDefenseEquipmentPrototype::attack_parameters
- CombatRobotPrototype::attack_parameters
- DestroyCliffsCapsuleAction::attack_parameters
- GunPrototype::attack_parameters
- SegmentedUnitPrototype::attack_parameters
- SegmentedUnitPrototype::revenge_attack_parameters
- SpiderUnitPrototype::attack_parameters
- ThrowCapsuleAction::attack_parameters
- TurretPrototype::attack_parameters
- UnitPrototype::attack_parameters
- UseOnSelfCapsuleAction::attack_parameters