Pathfind

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
PHP:
command /minyon:
    permission: admin.server
    trigger:
        spawn a baby zombie 1 meter above {alan1.location}
        wait a tick
        Set the last spawned entity's display name to "lwl1"
        set last spawned entity's helmet to diamond helmet
        set last spawned entity's chestplate to diamond helmet
        set last spawned entity's leggings to diamond leggings
        set last spawned entity's boots to diamond boots
        wait a tick
        while last spawned entity exists:
            wait 1 second       
            make last spawned entity pathfind to {alan2.location} with speed 1
            if last spawned entity is above {alan2.location}:
                stop
                make last spawned entity pathfind to {alan3.location} with speed 1
                wait 1 second
ben bu zombinin alan2 ye gelince alan3 e yürümesi için ne yapmam lazım bu şekilde çalışmıyor
 

bikkik

Obsidyen Madencisi
En iyi cevaplar
0
Kod:
if last spawned entity is above {alan2.location}:
                stop
                make last spawned entity pathfind to {alan3.location} with speed 1
                wait 1 second
Stop u kaldırmayı denedinmi ?
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
while entity exists:
 wait 1 second
 {alan2.location} is entity's location:
  make last spawned entity pathfind to {alan3.location} with speed 1
 else:
  make entity pathfind to {alan2.location} with speed 1
 

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
if last spawned entity is above {alan2.location}:
                stop
                make last spawned entity pathfind to {alan3.location} with speed 1
                wait 1 second
Stop u kaldırmayı denedinmi ?
denedim olmadı

Kod:
while entity exists:
wait 1 second
{alan2.location} is entity's location:
  make last spawned entity pathfind to {alan3.location} with speed 1
else:
  make entity pathfind to {alan2.location} with speed 1
olmadı malesef alan2 ye gidip duruyor
 

bikkik

Obsidyen Madencisi
En iyi cevaplar
0
orda if i kaldırıp direk şu şekilde bekletmeyi denedinmi ?
wait 1 second
make last spawned entity pathfind to {alan3.location} with speed 1
 
Üst