Czesc,
Mam skrypt, który daje błędy dotyczace "execute at" próbowałem tez "loop all blocks[...]" ale nadal mam 4 błędy.
on break of oak log:
set {_location} to location of event-block
set {_isComplete} to true
execute at {_location} in 3x3x3 region:
if {log} at current location is oak log:
set {_isComplete} to false
break
if {_isComplete} is false:
set {_treeBlocks} to {oak log, oak leaves}
set {_treeType} to oak log
execute at {_location}:
replace all {_treeBlocks::*} in 3x3x3 region with {_treeType}
wait 30 seconds
set {_isComplete} to true
execute at {_location} in 3x3x3 region:
if {log} at current location is oak log:
set {_isComplete} to false
break
if {_isComplete} is false:
execute at {_location}:
replace all {_treeBlocks::*} in 3x3x3 region with {_treeType}
Co chce uzyskac?
Chce zrobic tak, ze gdy gracz zniszczy drzewo, to one sie regenruje, całe razem z liscmi w tym samym miejscu.
Moze ktos pomóc?