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

    How to remove multiple unit-types in a trigger?

    Scheduled Pinned Locked Moved Map Making
    2 Posts 1 Posters 544 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.
    • ebbeE Offline
      ebbe
      last edited by

      Hej there, another of my How to Questions:

      How to remove multiple unit types in a single trigger?

      I cannot find any examples in http://www.starlords3k.com/XOB.html or Pac of steel and other games...

      so I tried:

      <option name="removeUnits" value="all:Kobaya:Sengokubune:Atakebune" count="1"/>
      
      *(which only seem to remove the first unit type mentioned)*
      and 
      
      <option name="removeUnits" value="all:Kobaya" count="1"/><option name="removeUnits" value="all:Sengokubune" count="1"/><option name="removeUnits" value="all:Atakebune" count="1"/>
      
      *which gives an error ( max cannot be less then 1? )*
      

      anyone a clue! will be very appreciated !

      ebbeE 1 Reply Last reply Reply Quote 1
      • ebbeE Offline
        ebbe @ebbe
        last edited by ebbe

        @ebbe

        The best questions are the ones that can answered by ones selves ... hahaha...

        so :

        <option name="removeUnits" value="all:Kobaya:Sengokubune:Atakebune" count="1"/>
        

        was correct: but as I had count="1" it only removed 1 unit , ofcourse... so made it count="99" and it seems to work 🙂

        1 Reply Last reply Reply Quote 1

        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