adaneslavo / More-Unique-Components-for-VP

Adds 3rd and 4th unique component to each civilization.
1 stars 6 forks source link

Monitor #100

Closed Infixo closed 6 years ago

Infixo commented 6 years ago

You can use IsWithinDistanceOfUnitPromotion / IsWithinDistanceOfUnit / IsWithinDistanceOfUnitClass / IsWithinDistanceOfUnitCombatType together with City. Basically bInRange = city:IsWithinDistanceOfUnitPromotion(GameInfoTypes.PROMOTION_UNIT_AMERICA_MONITOR, 1, true, false) does all. Then only set dummy.

adaneslavo commented 6 years ago

I though it works only on units. I will try.