Logo Platform
logo amplifiers simplified

Count all colonized Planets

Reply
Copied to clipboard!
4 years ago
Jan 9, 2021, 8:50:21 AM

How can i count all my colonized planets in my empire and store it in a variable?

I tried:


<Property Name="ArgosPlanets" BaseValue="1"/>

<Modifier TargetProperty="ArgosPlanets" Operation="Force" Value="$(OwnedPlanets)" SearchValueFromPath="true" Path="../ClassEmpire/ClassColonizedStarSystem,ColonizedStarSystemStateColony/ClassColonizedPlanet"/>


and use it then 


<BinaryModifier TargetProperty="SystemGrowth" Operation="Addition" Left="10" BinaryOperation="Multiplication" Right="$(ArgosPlanets)" Path="./ClassColonizedStarSystem"/>


But this did not work. What iam doing wrong?


0Send private message
0Send private message0Send private message
?

Click here to login

Reply
Comment