Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Set Territory as Unclaimed? [RESOLVED]

    Maps & Mods
    1
    1
    374
    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.
    • SlendyMcTendies
      SlendyMcTendies last edited by SlendyMcTendies

      Is it possible to remove a player's ownership of a territory without giving it to another player? For example, at the beginning of the game on my map, all territories are unclaimed - aka with no owner.

      If possible, how would I return a territory to this unclaimed state after a player has captured it?


      EDIT: Figured it out. The "Player Name" for such a thing is "Neutral"

      Example:

      <attachment foreach="$Territory$" name="triggerAttachment_Germans_TotalSurrender_@Territory@_RemoveOwnership" attachTo="Germans" javaClass="TriggerAttachment" type="player">
      	<option name="conditions" value="conditionAttachment_Germans_TotalSurrender"/>
      	<option name="changeOwnership" value="@Territory@:Germans:Neutral:false"/>
      	<option name="when" value="after:germansPolitics"/>
      	<option name="uses" value="1"/>
      </attachment>
      
      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post
      Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums