yo mordki, szybka zmianka, ogólnie cały mechanizm działa, jednakże łapie dopiero po spamowaniu przycisku, nie bardzo łapie o co chodzi, raz złapie za 1 razem, raz dopiero za 10 - w sensie teleportacja, może wina command blocka? Może wina tego "south west itd"?
Proszę o szybką pomoc i pozdrawiam!
on rightclick on stone button:
if block west or south or east or north target block is command block:
set {_x} to random integer between 4080 and -916
set {_y} to 60
set {_z} to random integer between 4640 and -359
set {_tp} to location at {_x}, {_y}, {_z}
loop 100 times:
add 1 to {_y}
set {_tp} to location at {_x}, {_y}, {_z}
if block at location of {_tp} is air:
if block below or above block at location of {_loc} is not stationary water or air or lily pad:
teleport player to {_tp}
send "&8[&6Kiroksiewicz&8] &7» &fPrzeteleportowano w losowe kordynaty &8( &6%player's location% &8)" to player
stop loop
Pytanie
kiroxtv 3
yo mordki, szybka zmianka, ogólnie cały mechanizm działa, jednakże łapie dopiero po spamowaniu przycisku, nie bardzo łapie o co chodzi, raz złapie za 1 razem, raz dopiero za 10 - w sensie teleportacja, może wina command blocka? Może wina tego "south west itd"?
Proszę o szybką pomoc i pozdrawiam!
on rightclick on stone button: if block west or south or east or north target block is command block: set {_x} to random integer between 4080 and -916 set {_y} to 60 set {_z} to random integer between 4640 and -359 set {_tp} to location at {_x}, {_y}, {_z} loop 100 times: add 1 to {_y} set {_tp} to location at {_x}, {_y}, {_z} if block at location of {_tp} is air: if block below or above block at location of {_loc} is not stationary water or air or lily pad: teleport player to {_tp} send "&8[&6Kiroksiewicz&8] &7» &fPrzeteleportowano w losowe kordynaty &8( &6%player's location% &8)" to player stop loopOdnośnik do komentarza
https://skript.pl/temat/36096-randomtp/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi