Hi there!
So i am trying to do the following loop, but it does not work...
Now, i know you may say i have not set the Location Variable, but in fact i have set it earlier in the code with a command that looks like the following:
I have no idea to why this does not work, and would require some assistance... Thanks!
So i am trying to do the following loop, but it does not work...
code_language.skript:
every second:
loop all entities in radius 12 around {PinkMushroom1}:
apply regeneration to the loop-entity for 1 second
Now, i know you may say i have not set the Location Variable, but in fact i have set it earlier in the code with a command that looks like the following:
code_language.skript:
command /setmushroom <text> <number>:
trigger:
if arg 1 is "Pink":
set {%arg 1%Mushroom%arg 2%} to player's location
message "&dLocation Set!"
if arg 1 is "Blue":
set {%arg 1%Mushroom%arg 2%} to player's location
message "&9Location Set!"
I have no idea to why this does not work, and would require some assistance... Thanks!