Skocz do zawartości
  • 0

Spawn moba lekki błąd


Pytanie

on death of creature:
	if victim is a {@type1}:
		name of victim contains "{@name1}":
			drop {@quanity.item1} {@item1} named "{@name.item1}" at victim
			wait 10 second
			execute console command "/stefan"
				
			
command /stefan:
	trigger:
		broadcast "Spawn stefana"
		spawn 1 {@type1} at {szkielet.%player%}
		set the last spawned entity's max health to {@hp1}
		heal last spawned entity
		set the spawned {@type1}'s display name to "{@name1} &4%spawned {@type1}'s health%/%max health of last spawned entity%"

 

Po zabiciu moba po 10 sekundach wyświetla się tylko broadcast a mob już się nie respi wie ktos co nie tak?

 

 

@CLOSE już wpadłem :)

Edytowane przez DeLajt
Odnośnik do komentarza
https://skript.pl/temat/19258-spawn-moba-lekki-b%C5%82%C4%85d/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
	type1:
	name1:
	quanity.item1:
	item1:
	name.item1:
    hp1:
on death of creature:
	if victim is a {@type1}:
		name of victim contains "{@name1}":
			drop {@quanity.item1} {@item1} named "{@name.item1}" at victim
			wait 10 second
			execute console command "/stefan"
				
			
command /stefan:
	trigger:
		broadcast "Spawn stefana"
		spawn 1 {@type1} at {szkielet.%player%}
		set the last spawned entity's max health to {@hp1}
		heal last spawned entity
		set the spawned {@type1}'s display name to "{@name1} &4%spawned {@type1}'s health%/%max health of last spawned entity%"

ustaw to

Odnośnik do komentarza
https://skript.pl/temat/19258-spawn-moba-lekki-b%C5%82%C4%85d/#findComment-131143
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ę...