XCOM 2
No Full Cover Grabs
Mostrando 1-3 de 3 aportaciones
Actualización: 10 MAR 2017 a las 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)

Actualización: 9 MAR 2017 a las 22:05

Actualización: 9 MAR 2017 a las 22:00