Navigation

    TripleA Logo

    TripleA Forum

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

    Question about triggers

    Maps & Mods
    2
    4
    397
    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.
    • Mas N
      Mas N last edited by

      I want a trigger only to happen only if condition A is true and condition B is false.

      I know that I can get an AND by listing multiple conditions and a NOT by using invert. But I can't see a way to combine them into an AND NOT

      Help?

      F 1 Reply Last reply Reply Quote 0
      • F
        ff03k64 @Mas N last edited by

        @Mas-N Can you invert B and then require them both to be true?

        1 Reply Last reply Reply Quote 0
        • Mas N
          Mas N last edited by

          @ff03k64 No. You can only invert a trigger, not a condition.

          F 1 Reply Last reply Reply Quote 0
          • F
            ff03k64 @Mas N last edited by

            @Mas-N

            
            			invert								values: true or false. default if missing is false. if true, this attachment's condition will be reversed (does not reverse the effect).
            

            line 2922 of POS2. Wouldn't that do what you want? Or am i reading something wrong?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums