I was wondering about this cool feature that my skript could have for certain enderman-related player.
But could not figure out how I can stop the portal effect to move in predetermined line and rain on the player just from one angle. Apparently %direction% does not affect the effects direction.
Here's my work (not working):
every 0.5 second:
loop all players:
loop-player is {Endm8}
set {EM8.VFX.RN} to random integer between 0 and 2
loop blocks in radius {EM8.VFX.RN} around loop-player:
chance of 50%:
play portal north loop-block
chance of 50%:
play portal south loop-block
chance of 50%:
play portal west loop-block
chance of 50%:
play portal east loop-block
Any ideas?
But could not figure out how I can stop the portal effect to move in predetermined line and rain on the player just from one angle. Apparently %direction% does not affect the effects direction.
Here's my work (not working):
every 0.5 second:
loop all players:
loop-player is {Endm8}
set {EM8.VFX.RN} to random integer between 0 and 2
loop blocks in radius {EM8.VFX.RN} around loop-player:
chance of 50%:
play portal north loop-block
chance of 50%:
play portal south loop-block
chance of 50%:
play portal west loop-block
chance of 50%:
play portal east loop-block
Any ideas?