overpy icon indicating copy to clipboard operation
overpy copied to clipboard

Add a way to generate disabled rules/conditions/actions

Open Respawnz opened this issue 5 years ago • 3 comments

  • [x] Add the @Disabled annotation for rules
  • [ ] Add the disabled keyword for conditions
  • [ ] Add the disabled keyword for actions

Respawnz avatar Jan 22 '20 03:01 Respawnz

As of now there is no way (as I didn't find a use for it, to disable rules you just comment them) but I'll try to add a disabled keyword to disable rules/actions/conditions.

As a workaround you can try having a "settings" rule at the top, with variables set to true/false.

Zezombye avatar Jan 27 '20 14:01 Zezombye

Wow, Thank you very much!
OverPy really makes writing OW-workshop code more enjoyable.

Respawnz avatar Jan 29 '20 15:01 Respawnz

Added @Disabled annotation in 3.2.0.

Zezombye avatar Feb 02 '20 12:02 Zezombye