This section describes all combat (VCR) properties. These can be accessed using Vcr(n).FIELD, where the index n goes from 1 to My.VCRs. Alternatively, use ForEach to iterate through the array.
Classic combat in VGA Planets resolves combat in 1:1 pairs. Each combat recording therefore contains a fight between two units. Their properties are provided as Left.XXX and Right.XXX.
PCC2 also supports fleet combat, namely FLAK, which allows many more units in a single fight. Therefore, each fight also has a Unit property which is an array of individual combat participants. The total number of units in the fight is in the NumUnits property. For classic combat, this property is 2, allowing for Units(1) (corresponding to Left.XXX), and Units(2) (corresponding to Right.XXX). For fleet combat, there are more elements.
- Algorithm
- Capabilities
- Left
- Left.Aux
- Left.Aux$
- Left.Aux.Ammo
- Left.Aux.Count
- Left.Aux.Short
- Left.Beam
- Left.Beam$
- Left.Beam.Count
- Left.Beam.Short
- Left.Crew
- Left.Crew$
- Left.Damage
- Left.Fighter.Bays
- Left.Fighter.Count
- Left.Hull
- Left.Hull$
- Left.Id
- Left.Image
- Left.Level
- Left.Mass
- Left.Name
- Left.Owner
- Left.Owner$
- Left.Owner.Adj
- Left.Shield
- Left.Status
- Left.Status$
- Left.Torp
- Left.Torp$
- Left.Torp.Count
- Left.Torp.LCount
- Left.Torp.Short
- Left.Type
- Left.Type.Short
- Magic
- NumUnits
- Right
- Right.Aux
- Right.Aux$
- Right.Aux.Ammo
- Right.Aux.Count
- Right.Aux.Short
- Right.Beam
- Right.Beam$
- Right.Beam.Count
- Right.Beam.Short
- Right.Crew
- Right.Crew$
- Right.Damage
- Right.Fighter.Bays
- Right.Fighter.Count
- Right.Hull
- Right.Hull$
- Right.Id
- Right.Image
- Right.Level
- Right.Mass
- Right.Name
- Right.Owner
- Right.Owner$
- Right.Owner.Adj
- Right.Shield
- Right.Status
- Right.Status$
- Right.Torp
- Right.Torp$
- Right.Torp.Count
- Right.Torp.LCount
- Right.Torp.Short
- Right.Type
- Right.Type.Short
- Seed
- Type$
- Unit