Witam, jestem w trakcie pisania skryptu na Bossy, chcę aby komenda Boss wykonywała się, co 2 minuty. Próbowałem ale coś nie działa.
Ps, czasem boss pojawi się na wodzie, też chciałbym, aby ktoś to poprawił.
Z góry dzięki za pomoc.
command /Boss [<text>]:
trigger:
set {_X} to random integer between {@XMax} and {@XMin}
set {_Y} to {@Y}
set {_Z} to random integer between {@ZMax} and {@ZMin}
set {_Tp.Boss} to location at {_X}, {_Y}, {_Z}
if biome at {_Tp.Boss} is not ocean or river or deep ocean:
loop blocks under {_Tp.Boss}:
if loop-block is not water or lava or air:
set {_Tp.Boss} to location at {_X}, loop-block's y-location+1, {_Z}
create an explosion of force 4 at {_Tp.Boss}
spawn a Zombie at {_Tp.Boss}
set max health of last spawned Zombie to 100
heal last spawned Zombie
set name of the spawned Zombie to "&6Test %spawned Zombie's health%/%max health of last spawned Zombie%"
set helmet of the spawned Zombie to diamond helmet of protection 10 and unbreaking 10
set chestplate of the spawned Zombie to diamond chestplate of protection 10 and unbreaking 10
set leggings of the spawned Zombie to diamond leggings of protection 10 and unbreaking 10
set boots of the spawned Zombie to diamond boots of protection 10 and unbreaking 10
set tool of the spawned Zombie to a diamond sword of sharpness 9 and fire aspect 4
send "%{_Tp.Boss}%" to all players
exit loop
stop
every 2 minute in "world":
execute console command "Boss"
Pytanie
Kozaczekkw 16
Witam, jestem w trakcie pisania skryptu na Bossy, chcę aby komenda Boss wykonywała się, co 2 minuty. Próbowałem ale coś nie działa.
Ps, czasem boss pojawi się na wodzie, też chciałbym, aby ktoś to poprawił.
Z góry dzięki za pomoc.
Edytowane przez KozaczekkwOdnośnik do komentarza
https://skript.pl/temat/34659-boss/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi