Code:
The part it can not understand is:
set {_entity} to player at location 0.1 around the projectile, can anyone explain? Not looking for someone to write my code, just asking why it doesnt understand it
[doublepost=1501894896,1501894827][/doublepost]
code_language.skript:
on rightclick with nether star:
if the name of player's tool is "&eShuriken &7(Right Click)":
make the player shoot an item projectile of 1 nether star at speed 1.2
wait 1 tick
while ground state of shot projectile is false:
set {_block} to the block at location 0.3 below the projectile
loop {_block::*}:
if {_block} is air:
delete projectile
stop loop
set {_entity} to player at location 0.1 around the projectile
loop {_entities::*}:
if {_entity} is player:
damage {_entity} by 2 hearts
stop loop
The part it can not understand is:
set {_entity} to player at location 0.1 around the projectile, can anyone explain? Not looking for someone to write my code, just asking why it doesnt understand it
[doublepost=1501894896,1501894827][/doublepost]
set {_entity} to player at location 0.1 around the projectile