XCOM 2
No Full Cover Grabs
Visualizzazione di 1-3 elementi su 3
Aggiornamento: 10 mar 2017, 8:43

Simplified code to:


if (`TACTICALRULES.VisibilityMgr.GetVisibilityInfo(ViperState.ObjectID, UnitState.ObjectID, CurrentVisibility) && CurrentVisibility.TargetCover == CT_Standing)
{
return 'AA_UnitIsImmune';
}



(this checks what type of cover the viper is against from the unit it's viewing, getting CT_Standing means it's an unflanked target in full cover)

Aggiornamento: 9 mar 2017, 22:05

Aggiornamento: 9 mar 2017, 22:00