Skocz do zawartości
  • 0

Teleport poniżej konkretnych kordów


Pytanie

Poszukuję skryptu, na coś w stylu world edita z teleportem, tzn:

po wpisaniu komendy /tpwand dostajemy rozdzke, ktora tak jak wandem zaznaczamy jeden blok prawym, i drugi blok lewym
zaznaczony obszar jest polem, i jeżeli się w nie wejdzie, teleportuje nas na losowe kordy (mapa ma 2500x2500 więc najlepiej ustawić że teleportuje max 2000x2000)
Po teleportacji otrzymujemy tymczasowo speed 2 (2 minuty) i WAŻNE, żeby po teleportacji przez 15 sekund nie zadawało nam obrażeń

 

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		give the stick named "&5&lTpWand" to player
on rightclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player execute command "//pos1"
		send "&2Zaznaczyles punkt 1 - Po zaznaczeniu 2 punktu wpisz /tpportal"
on leftclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player excute command "//pos2"
		send "&2Zaznaczyles punkt 2 - Po zaznaczeniu 2 punktu wpisz /tpportal"
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		make player execute command "rg define portal"
on region enter:
	if region at player is "portal":
		set {_x} to random integer  between -2500 and 2500
		set {_z} to random integer  between -2500 and 2500
		apply speed 2 at player for 15 seconds
		teleport player at {_x} 120 {_z}
		send "&4Zostales przeteleportowany na losowe kordy!" to player

 

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/#findComment-158198
Udostępnij na innych stronach

  • 0
1 minutę temu, MrJuliusz napisał:

command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		give the stick named "&5&lTpWand" to player
on rightclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player execute command "//pos1"
		send "&2Zaznaczyles punkt 1 - Po zaznaczeniu 2 punktu wpisz /tpportal"
on leftclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player excute command "//pos2"
		send "&2Zaznaczyles punkt 2 - Po zaznaczeniu 2 punktu wpisz /tpportal"
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		make player execute command "rg define portal"
on region enter:
	if region at player is "portal":
		set {_x} to random integer  between -2500 and 2500
		set {_z} to random integer  between -2500 and 2500
		apply speed 2 at player for 15 seconds
		teleport player at {_x} 120 {_z}
		send "&4Zostales przeteleportowany na losowe kordy!" to player

 

A przypadkiem, gdy mnie nie przeteleportuje na Y: 120 to nie zgine? 
Widzę tylko effect speed 2

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/#findComment-158199
Udostępnij na innych stronach

  • 0
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		give the stick named "&5&lTpWand" to player
on rightclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player execute command "//pos1"
		send "&2Zaznaczyles punkt 1 - Po zaznaczeniu 2 punktu wpisz /tpportal"
on leftclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player excute command "//pos2"
		send "&2Zaznaczyles punkt 2 - Po zaznaczeniu 2 punktu wpisz /tpportal"
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		make player execute command "rg define portal"
on region enter:
	if region at player is "portal":
		set {_x} to random integer  between -2500 and 2500
		set {_z} to random integer  between -2500 and 2500
		apply speed 2 to player for 15 seconds
		apply resistance to player for 30 seconds
		teleport the player to {_x} 120 {_z}
		send "&4Zostales przeteleportowany na losowe kordy!" to player

Sorry ucieło mi effekt, skrypt poprawiny :)

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/#findComment-158202
Udostępnij na innych stronach

  • 0
6 minut temu, MrJuliusz napisał:

command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		give the stick named "&5&lTpWand" to player
on rightclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player execute command "//pos1"
		send "&2Zaznaczyles punkt 1 - Po zaznaczeniu 2 punktu wpisz /tpportal"
on leftclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player excute command "//pos2"
		send "&2Zaznaczyles punkt 2 - Po zaznaczeniu 2 punktu wpisz /tpportal"
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		make player execute command "rg define portal"
on region enter:
	if region at player is "portal":
		set {_x} to random integer  between -2500 and 2500
		set {_z} to random integer  between -2500 and 2500
		apply speed 2 to player for 15 seconds
		apply resistance to player for 30 seconds
		teleport the player to {_x} 120 {_z}
		send "&4Zostales przeteleportowany na losowe kordy!" to player

Sorry ucieło mi effekt, skrypt poprawiny :)

Dzięki, dam znać czy działa :)
A pomógłbyś jeszcze przy tym skrypcie na zrzuty? :) 

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/#findComment-158204
Udostępnij na innych stronach

  • 0
Dnia 28.11.2017 o 19:52, MrJuliusz napisał:

command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		give the stick named "&5&lTpWand" to player
on rightclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player execute command "//pos1"
		send "&2Zaznaczyles punkt 1 - Po zaznaczeniu 2 punktu wpisz /tpportal"
on leftclick holding a stick:
	if player's tool is named "&5&lTpWand":
		make player excute command "//pos2"
		send "&2Zaznaczyles punkt 2 - Po zaznaczeniu 2 punktu wpisz /tpportal"
command /tpwand:
	permission : skript.tpwand
	permission message : &4&lNie masz dostepu do tej komendy kolego!
	trigger:
		make player execute command "rg define portal"
on region enter:
	if region at player is "portal":
		set {_x} to random integer  between -2500 and 2500
		set {_z} to random integer  between -2500 and 2500
		apply speed 2 to player for 15 seconds
		apply resistance to player for 30 seconds
		teleport the player to {_x} 120 {_z}
		send "&4Zostales przeteleportowany na losowe kordy!" to player

Sorry ucieło mi effekt, skrypt poprawiny :)

Niestety nie działa :( 

Odnośnik do komentarza
https://skript.pl/temat/23218-teleport-poni%C5%BCej-konkretnych-kord%C3%B3w/#findComment-158630
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ę...