FANDOM


An option for a TriggerAttachment, ObjectiveAttachment or RulesAttatchment.

Commonly used with a Condition.

Triggered by any Attachment. It is conditionally tested to activate whatever changes this attachment represents.

values: true or false. default if missing is false.
if true, this attachment's condition will be reversed (does not reverse the effect).
          this reverses the result of boolean result of this entire Attachment,
           and is considered a logical negation.

      If true, this attachment's condition will be reversed (does not reverse the effect).
               this reverses the result of boolean result of this entire Attachment,
                                                       and is considered a

                                          logical negation

You are actually changing raw data in the engine by calling the setters in the same way the engine does when it parses the xml.
To Further Explain:


       invert will replace or overwrite something when used with a trigger

It is not validated at all, and will '''probably cause the engine to crash mid-game '''''if you don't use them correctly.

You may prefix the property count portion with "-reset-" if you wish to clear out the data in an array first

     example: <option name="invert" value="true" count="-reset-factory:hangar"/>