UFO: Alien Invasion
|
One unit (soldier/alien/civilian) of the autobattle. More...
Data Fields | |
int | idx |
autoMissionTeamType_t | team |
character_t * | chr |
double | attackStrength |
double | defendStrength |
One unit (soldier/alien/civilian) of the autobattle.
Definition at line 54 of file cp_auto_mission.cpp.
double autoUnit_s::attackStrength |
How good at attacking a unit is, from 0.0 (can't fight at all) to 1.0 (Higher is better)
Definition at line 58 of file cp_auto_mission.cpp.
character_t* autoUnit_s::chr |
Character
Definition at line 57 of file cp_auto_mission.cpp.
Referenced by AM_AlienCollect(), AM_CalculateTeamScores(), AM_CheckFire(), AM_CreateUnitChr(), AM_DestroyUnitChr(), AM_DoFight(), and AM_FillTeamFromAircraft().
double autoUnit_s::defendStrength |
A unit's armor or protection, from 0.0 (no armor, can't even dodge/stationary) to 1.0 (Higher is better)
Definition at line 59 of file cp_auto_mission.cpp.
int autoUnit_s::idx |
Definition at line 55 of file cp_auto_mission.cpp.
Referenced by AM_CheckFire(), AM_FillTeamFromAircraft(), and AM_FillTeamFromBattleParams().
autoMissionTeamType_t autoUnit_s::team |
Team of the unit
Definition at line 56 of file cp_auto_mission.cpp.
Referenced by AM_CheckFire(), AM_FillTeamFromAircraft(), AM_FillTeamFromBattleParams(), and AM_UnitAttackEnemy().