#On Region leave give effect

1 messages · Page 1 of 1 (latest)

strong stratus
#

Hey,
i try actually if you leaving an region you should get an Slow Falling effect.
On Saving an Reloading i get the message: "expected 1 tab, but found 4 spaces".
Every time i click on Tab and it says the same...

on region leave:
    region is {spawn}
    apply potion of slow falling of tier 1 to player for 120 seconds

Or do i something wrong ?

strong stratus
#

I think i got it..

on region exit:
  if "%region at player%" contains "spawn":
    apply slow falling tier 1 without particles to player for 120 second
hollow salmon
#

I would replace region at player with event-region since that is the one that triggers the event