XCOM 2
No Full Cover Grabs
1–3/3 bejegyzés mutatása
Frissítés: 2017. márc. 10. @ 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)

Frissítés: 2017. márc. 9. @ 22:05

Frissítés: 2017. márc. 9. @ 22:00