How to calculate TripleA Political Allied Victory?
TheDog last edited by TheDog
Am I correct that TripleA does not support dynamic Political Allied Victory?
By dynamic I mean TripleA knows that 2 or 3 factions are allied and it would automatically add up say their VCs and declare that allied Faction the winner.
Rather I would have to code a trigger for each combination of pairs or triples that are allied?
If 6 Factions
Pairs 5+4+3+2+1=15 combinations
Triples = a lot of combinations
@thedog Have you tried using triggers. You could just specify the VC territories and count how many are under Allied control.
TheDog last edited by
I have looked at Triggers, for Clan pairs, there are 15 combinations, but there are 10VC, so any 7 of those 10VC, Im not sure how to do it.
Roger could you point me at some maps/scenarios that try to do the above?
@thedog Take a look at these objectives from Global
<attachment name="objectiveAttachment_Italians_3_North_Africa" attachTo="Italians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="objectiveValue" value="5"/> <option name="alliedOwnershipTerritories" value="Alexandria:Morocco:Algeria:Tunisia:Tobruk:Libya" count="6"/> </attachment> <attachment name="objectiveAttachment_Italians_4_Control_Iraq_Or_Persia_Or_Northwest_Persia" attachTo="Italians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="objectiveValue" value="2"/> <option name="directOwnershipTerritories" value="Iraq:Persia:Northwest Persia" count="each"/> </attachment>
Attachment 3 counts the number of territories held by Italy and the other Axis powers. Although this is an objective attachment, it could just as easily be a triggered victory.
Attachment 4 counts only the territories held by Italy ("directOwnership").