skript-mirror icon indicating copy to clipboard operation
skript-mirror copied to clipboard

Walk section for custom effects and conditions

Open Pikachu920 opened this issue 7 years ago • 5 comments

Describe the solution you'd like A walk section for effects and conditions e.g.

effect stop 50% of the time:
  trigger:
  
  walk: # allows returning of a TriggerItem too
     chance of 50%:
        continue

Describe alternatives you've considered A delayed effect that never continues

Pikachu920 avatar Jul 19 '18 23:07 Pikachu920

Does this have a (good) use case? Most effects don't need this.

btk5h avatar Jul 20 '18 05:07 btk5h

a continue loop effect

Pikachu920 avatar Aug 15 '18 02:08 Pikachu920

A continue loop effect should just be in Skript though. I can't really see a good reason to alter control flow outside of statements that ought to be in Skript in the first place.

btk5h avatar Aug 15 '18 03:08 btk5h

it is in skript, skript-mirror could be used for backporting

Pikachu920 avatar Aug 15 '18 03:08 Pikachu920

But for only a single feature? Seems like an addon would be a better fit, especially considering that it won't be necessary for newer versions of Skript.

btk5h avatar Aug 19 '18 06:08 btk5h