aynen böyle yapabiliyosan yap bide şöyle olurmu zıplamasaBen mantığını anlamadım, zıpladığı zaman karşısında ne kadar yükseklikte blok varsa onun en tepesine mi zıplatacak
Spider olayi su varzıplama desteği nasıl veriliyor ?
benim yapıcağım şey şu
spider gibi duvara tırmanmak ama koşarak![]()
bu münkünmü
@sergun26respawn
ufak bir örnek yaparmısn
bunu sikiript ile yapabiliyozmu spider gibi tırmanmasada olur sadece yukarı zıplatsada olur ama önünde kaç blok varsa o kadar olcakSpider olayi su var
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.
on move on grass:
if player is facing south:
set {_loc} to location of player
add 0.5 z coordinate of {_loc}
block at {_loc} isn't air
set {_mbl} to 256
set {_y} to y coordinate of {_loc}
remove {_y} from {_mbl}
loop {_mbl} times:
add 1 to y coordinate of {_loc}
block at {_loc} isn't air
add 1 to y coordinate of {_loc}
teleport the player to {_loc}
if player is facing west:
set {_loc} to location of player
remove 0.5 to from x coordinate of {_loc}
block at {_loc} isn't air
set {_mbl} to 256
set {_y} to y coordinate of {_loc}
remove {_y} from {_mbl}
loop {_mbl} times:
add 1 to y coordinate of {_loc}
block at {_loc} isn't air
add 1 to y coordinate of {_loc}
teleport the player to {_loc}
if player is facing north:
set {_loc} to location of player
remove 0.5 to from z coordinate of {_loc}
block at {_loc} isn't air
set {_mbl} to 256
set {_y} to y coordinate of {_loc}
remove {_y} from {_mbl}
loop {_mbl} times:
add 1 to y coordinate of {_loc}
block at {_loc} isn't air
add 1 to y coordinate of {_loc}
teleport the player to {_loc}
if player is facing east:
set {_loc} to location of player
add 0.5 to x coordinate of {_loc}
block at {_loc} isn't air
set {_mbl} to 256
set {_y} to y coordinate of {_loc}
remove {_y} from {_mbl}
loop {_mbl} times:
add 1 to y coordinate of {_loc}
block at {_loc} isn't air
add 1 to y coordinate of {_loc}
teleport the player to {_loc}
bence en iyisi pluginŞöyle saçma sapan bir şey yaptım :/ Yalnız çalışsa bile baya lag yapar
Kod:on move on grass: if player is facing south: set {_loc} to location of player add 0.5 z coordinate of {_loc} block at {_loc} isn't air set {_mbl} to 256 set {_y} to y coordinate of {_loc} remove {_y} from {_mbl} loop {_mbl} times: add 1 to y coordinate of {_loc} block at {_loc} isn't air add 1 to y coordinate of {_loc} teleport the player to {_loc} if player is facing west: set {_loc} to location of player remove 0.5 to from x coordinate of {_loc} block at {_loc} isn't air set {_mbl} to 256 set {_y} to y coordinate of {_loc} remove {_y} from {_mbl} loop {_mbl} times: add 1 to y coordinate of {_loc} block at {_loc} isn't air add 1 to y coordinate of {_loc} teleport the player to {_loc} if player is facing north: set {_loc} to location of player remove 0.5 to from z coordinate of {_loc} block at {_loc} isn't air set {_mbl} to 256 set {_y} to y coordinate of {_loc} remove {_y} from {_mbl} loop {_mbl} times: add 1 to y coordinate of {_loc} block at {_loc} isn't air add 1 to y coordinate of {_loc} teleport the player to {_loc} if player is facing east: set {_loc} to location of player add 0.5 to x coordinate of {_loc} block at {_loc} isn't air set {_mbl} to 256 set {_y} to y coordinate of {_loc} remove {_y} from {_mbl} loop {_mbl} times: add 1 to y coordinate of {_loc} block at {_loc} isn't air add 1 to y coordinate of {_loc} teleport the player to {_loc}