I have this script:
It does not remove any entities. But "kill loop-value" works fine. Thing is I don't want to kill the entity, and instead just remove it. Any ideas?
Code:
command /test:
trigger:
set {_loc} to player's location
loop all entities in radius 30 around {_loc}:
if loop-entity is a sheep:
add loop-entity to {_list::*}
loop {_list::*}:
clear loop-value parsed as entity
message "done"
It does not remove any entities. But "kill loop-value" works fine. Thing is I don't want to kill the entity, and instead just remove it. Any ideas?