TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Allied triggered Victory Conditions sort of working?

    Scheduled Pinned Locked Moved Maps & Mods
    2 Posts 1 Posters 604 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TheDogT Online
      TheDog
      last edited by TheDog

      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)?

      .

      5383c684-d6f3-4691-b2e5-7e503a34a6d4-image.png

      .
      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.properties

      VictoryDate=<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>
      

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

      TheDogT 1 Reply Last reply Reply Quote 0
      • TheDogT Online
        TheDog @TheDog
        last edited by

        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.

        https://forums.triplea-game.org/tags/thedog
        https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums