Allied triggered Victory Conditions sort of working?
-
I have been working on Allied triggered Victory Conditions, it looks like its triggered/working, but how to I get the pop up to trigger, to say Victory (is mine)?
.
.
xml extract<!-- VictoryHojo --> <attachment name="conditionAttachmentVictoryHojo" attachTo="Hojo" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="Satsuma:Aki:Yamashiro:Owari:Suruga:South Musashi:North Mutsu:Awa Shikoku:Kaga" count="7"/> </attachment> <attachment name="triggerAttachmentVictoryHojo" attachTo="Hojo" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="trigger" value="conditionAttachmentVictoryHojo"/> <option name="victory" value="VictoryHojo"/> <option name="players" value="Hojo"/> </attachment>
.
notifications.propertiesVictoryDate=<body>Date and their allies have won! But who will be Shogun?</body> VictoryHojo=<body>Hojo and their allies have won! But who will be Shogun?</body> VictoryMori=<body>Mori and their allies have won! But who will be Shogun?</body> VictoryMiyoshi=<body>Miyoshi and their allies have won! But who will be Shogun?</body> VictoryOda=<body>Oda and their allies have won! But who will be Shogun?</body> VictoryShimazu=<body>Shimazu and their allies have won! But who will be Shogun?</body>
-
Doh, I put
<property name="National Objectives" value="true" editable="true">instead of
<property name="Triggered Victory" value="true" editable="true">Its now working as intended.