XCOM 2
No Full Cover Grabs
Viser 1–3 av 3 bidrag
Oppdatering: 10. mars 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)

Oppdatering: 9. mars 2017 @ 22.05

Oppdatering: 9. mars 2017 @ 22.00