Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap
  • Edited

Almost everything that uses a toggle can be inverted using an Invert or InvertOperationalToggle parameter or similar.

    Walt Individual toggles in a MultiToggle can't be inverted though.

      • Edited

      Ultranova Actually they can! Instead of doing something like this:

      IsOperational
      {
      	Type = MultiToggle
      	Toggles = [PowerToggle, BatteryStorage]
      	Mode = All
      }

      Do this:

      IsOperational
      {
      	Type = MultiToggle
      	Toggles
      	[
      		{Toggle=PowerToggle, Invert=true}
      		{Toggle=BatteryStorage, Invert=true}
      	]
      	Mode = All
      }

      Walt once again, you're several steps ahead of me!

        Ultranova He knows your every move. Now I understand why the bus is so unpredictable

        Walt

        A logical NOT ("!") operator for toggles could still apply as a short form.

        IsOperational
        {
        	Type = MultiToggle
        	Toggles = [PowerToggle, BatteryStorage, !InFTLJumpToggle]
        	Mode = All
        }

        clojelo A logical NOT ("!") operator for toggles could still apply as a short form.

        I completely agree, which is why it's already on the Trello. It's just not a high priority because I don't think there are any situations where it would add actual functionality instead of mere convenience.

        ONI Eh there's really only been two times that a situation like this has happened. A lot of my suggestions for modding features aren't actually on the forum lol.

        • ONI likes this.
        Write a Reply...