Skocz do zawartości
  • 0

Tnt


Gość Usunięty#36557

Pytanie

17 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
28 minut temu, matmm503 napisał:

A co to jest? (xd) Plugin jakiś skript czy co

plugin / addon do skripta
plik .jar umieszczasz w folderze plugins
https://www.spigotmc.org/resources/skript-java-addon-skellett.34361/

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318179
Udostępnij na innych stronach

  • 0
Gość Usunięty#36557
1 godzinę temu, CoFFeIN04 napisał:
set fuse time of last spawned primed tnt to 200

Skript niestety nie działa.

W konsoli pojawił się problem: [ERROR] [Skript] invalid line - all code has to be put into triggers (tntnow.sk, line 1: set fuse time of last spawned primed tnt to 200')

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318184
Udostępnij na innych stronach

  • 0
9 minut temu, matmm503 napisał:

Skript niestety nie działa.

W konsoli pojawił się problem: [ERROR] [Skript] invalid line - all code has to be put into triggers (tntnow.sk, line 1: set fuse time of last spawned primed tnt to 200')

jak masz ten łuk i on przywołuje tnt to pod tą linijką dajesz ten kod

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318187
Udostępnij na innych stronach

  • 0
Gość Usunięty#36557

W dalszym ciągu skrypt nie działa. @TheStremty skrypt teraz wygląda tak i dalej nie działa.

 

on projectile hit:

    shooter is a player:

        if shooter's tool is a bow:

            if name of shooter's tool is "TNT":

                spawn tnt at event-projectile

                    set fuse time of last spawned primed tnt to 200

 

Błąd w konsoli: 

[INFO] [Skript] Reloading the config, aliases and all scripts...

[INFO] Loaded 142015 aliases in 8330ms

[ERROR] indentation error: expected 16 spaces, but found 20 spaces (tntbow.sk, line 7: set fuse time of last spawned primed tnt to 200')

[INFO] Loaded 2 scripts with a total of 2 triggers and 0 commands in 0.07 seconds

[INFO] [Skript] Encountered 1 error while reloading the config, aliases and all scripts!

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318189
Udostępnij na innych stronach

  • 0
1 minutę temu, matmm503 napisał:

W dalszym ciągu skrypt nie działa. @TheStremty skrypt teraz wygląda tak i dalej nie działa.

 

on projectile hit:

    shooter is a player:

        if shooter's tool is a bow:

            if name of shooter's tool is "TNT":

                spawn tnt at event-projectile

                    set fuse time of last spawned primed tnt to 200

 

Błąd w konsoli: 

[INFO] [Skript] Reloading the config, aliases and all scripts...

[INFO] Loaded 142015 aliases in 8330ms

[ERROR] indentation error: expected 16 spaces, but found 20 spaces (tntbow.sk, line 7: set fuse time of last spawned primed tnt to 200')

[INFO] Loaded 2 scripts with a total of 2 triggers and 0 commands in 0.07 seconds

[INFO] [Skript] Encountered 1 error while reloading the config, aliases and all scripts!

to zrob tak:
 

on projectile hit:
	if shooter is a player:
		if shooter's tool is a bow:
			if name of shooter's tool is "TNT":
				spawn tnt at event-projectile
				set fuse time of last spawned entity to 200

 

 

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318191
Udostępnij na innych stronach

  • 0
26 minut temu, matmm503 napisał:

W dalszym ciągu skrypt nie działa. @TheStremty skrypt teraz wygląda tak i dalej nie działa.

 

on projectile hit:

    shooter is a player:

        if shooter's tool is a bow:

            if name of shooter's tool is "TNT":

                spawn tnt at event-projectile

                    set fuse time of last spawned primed tnt to 200

 

Błąd w konsoli: 

[INFO] [Skript] Reloading the config, aliases and all scripts...

[INFO] Loaded 142015 aliases in 8330ms

[ERROR] indentation error: expected 16 spaces, but found 20 spaces (tntbow.sk, line 7: set fuse time of last spawned primed tnt to 200')

[INFO] Loaded 2 scripts with a total of 2 triggers and 0 commands in 0.07 seconds

[INFO] [Skript] Encountered 1 error while reloading the config, aliases and all scripts!

Po co tutaj dales tego taba więcej?

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318193
Udostępnij na innych stronach

  • 0
Gość Usunięty#36557
21 minut temu, TheStremty napisał:
on projectile hit:
	if shooter is a player:
		if shooter's tool is a bow:
			if name of shooter's tool is "TNT":
				spawn tnt at event-projectile
				set fuse time of last spawned entity to 200

Skrypt dalej nie działa.

Informacje w konsoli:

[INFO] [Skript] Reloading the config, aliases and all scripts...

[INFO] Loaded 142015 aliases in 8914ms

[ERROR] Can't understand this condition/effect: set fuse time of last spawned entity to 200 (tntbow.sk, line 6: set fuse time of last spawned entity to 200')

[INFO] Loaded 2 scripts with a total of 2 triggers and 0 commands in 0.07 seconds

[INFO] [Skript] Encountered 1 error while reloading the config, aliases and all scripts!

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318194
Udostępnij na innych stronach

  • 0
4 minuty temu, matmm503 napisał:

Niestety nie znam się na skryptach więc uznałem że jak tam są taby to tu też dam xd

użyj tego
testowane 1.17
 

on projectile hit:
	if shooter is a player:
		if shooter's tool is a bow:
			if name of shooter's tool is "TNT":
				create explosion of force 5 at projectile
				kill projectile

 

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318198
Udostępnij na innych stronach

  • 0
on projectile hit:
	if shooter is a player:
		if shooter's tool is a bow:
			if name of shooter's tool is "TNT":
				spawn tnt at event-projectile
				set fuse time of last spawned tnt to 200

To powinno działać, masz ten dodatek Skellet w końcu czy nie? Rozumiem, że możesz nie wiedzieć co to jest, ale wpisujesz w google i masz 1 wynik: https://www.spigotmc.org/resources/skript-java-addon-skellett.34361/

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318212
Udostępnij na innych stronach

  • 0
Gość Usunięty#36557
Godzinę temu, CoFFeIN04 napisał:
on projectile hit:
	if shooter is a player:
		if shooter's tool is a bow:
			if name of shooter's tool is "TNT":
				spawn tnt at event-projectile
				set fuse time of last spawned tnt to 200

Działa, dzk wielkie! To wszystko, problem rozwiązany :D

Odnośnik do komentarza
https://skript.pl/temat/51910-tnt/#findComment-318226
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ę...