Skocz do zawartości
  • 0

Zlecenie napisania skryptu /entitydeaths


Gość Usunięty#25541

Pytanie

Gość Usunięty#25541

Jest ktoś kto może napisać skrypt do komendy /entitydeaths on/off i żeby jak zginie jakiś mob dowolny tylko nie gracz. to żeby wyświetliło na czacie 'Chicken zginął'. <---- to jest przykład a jak jest /entitydeaths off to żeby nie wyświetlało tego. Jest ktoś kto mógłby to napisać?? Proszę o odpowiedź

Odnośnik do komentarza
https://skript.pl/temat/37620-zlecenie-napisania-skryptu-entitydeaths/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /entitydeaths:
    Trigger:
        If {entdeath} is true:
            set {entdeath} to false
            Stop
        Set {entdeath} to true
On death:
    Victim is not player 
    {entdeath} is true
    Send "%victim% umarl" to all players 

 

Odnośnik do komentarza
https://skript.pl/temat/37620-zlecenie-napisania-skryptu-entitydeaths/#findComment-239035
Udostępnij na innych stronach

  • 0
Gość Usunięty#25541
7 godzin temu, xAxee napisał:

command /entitydeaths:
    Trigger:
        If {entdeath} is true:
            set {entdeath} to false
            Stop
        Set {entdeath} to true
On death:
    Victim is not player 
    {entdeath} is true
    Send "%victim% umarl" to all players 

 

xAxee czy ty w ogóle śpisz? xAxee open 24 hours.

Odnośnik do komentarza
https://skript.pl/temat/37620-zlecenie-napisania-skryptu-entitydeaths/#findComment-239048
Udostępnij na innych stronach

  • 0
Gość Usunięty#25541
8 godzin temu, xAxee napisał:

command /entitydeaths:
    Trigger:
        If {entdeath} is true:
            set {entdeath} to false
            Stop
        Set {entdeath} to true
On death:
    Victim is not player 
    {entdeath} is true
    Send "%victim% umarl" to all players 

 

Tylko jest problem, bo to wysyła do wszystkich graczy, a ja chce, żeby do samego gracza, który użył tej komendy wysyłało. A jak zmieniam to send to player to 0 errorów i nie działa...

Odnośnik do komentarza
https://skript.pl/temat/37620-zlecenie-napisania-skryptu-entitydeaths/#findComment-239051
Udostępnij na innych stronach

  • 0

:thonk:
 

command /entitydeath [<text>]:
	trigger:
		if {entitydeathList::*} doesn't contain player:
			add player to {entitydeathList::*}
			send "Wpisales sie na liste, wow!"
			stop
		remove player from {entitydeathList::*}
		send "Usunales sie z listy, wow!"
		stop

on death:
	if victim is not player:
		loop {entitydeathList::*}:
			send "%victim% zginal, o nie!" to loop-value

 

Odnośnik do komentarza
https://skript.pl/temat/37620-zlecenie-napisania-skryptu-entitydeaths/#findComment-239062
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ę...