Skocz do zawartości
  • 0

Iron golem


Hakushami

Pytanie

14 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on spawn:    event-entity is iron golem:        set the name of event-entity to "Sniezny golem"        set the maximum health of event-entity to 100every 3 seconds:    loop all players:        loop entities in radius 20 of loop-player:            loop-entity-1 is iron golem named "Sniezny golem":                shoot a snowball from loop-entity-1 at speed 1                    loop entities in radius 20 of loop-entity-1:                        push shot projectile towards loop-entity-2 at speed 5

Wymaga ExtraSK

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Dzięki wielkie ;D.

 

Co do skryptu to golem nie strzela śnieżkami i jest taki błąd:

 

There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. <show.sk, line 60: loop-entity is iron golem named "Sniezny golem";

Edytowane przez Hakushami
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on spawn:    event-entity is iron golem:        set the name of event-entity to "Sniezny golem"        set the maximum health of event-entity to 100        heal event-entity every 3 seconds:    loop all players:        loop entities in radius 20 of loop-player:            if loop-entity-1 is iron golem:                if name of loop-entity-1 is "Sniezny golem":                    shoot a snowball from loop-entity-1 at speed 1                        loop entities in radius 20 of loop-entity-1:                            push shot projectile towards loop-entity-2 at speed 5
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Użyj coś takiego:

 

on spawn:    event-entity is iron golem:        set the name of event-entity to "Sniezny golem"        set the maximum health of event-entity to 100        heal event-entity  every 3 seconds:    loop all players:        loop entities in radius 20 of loop-player-1:            if loop-entity-1 is iron golem:                if name of loop-entity-1 is "Sniezny golem":                    spawn a snowball at location of loop-entity-1                        loop entities in radius 20 of loop-entity-1:                            push spawned entity towards loop-entity-2 at speed 5
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...