Skocz do zawartości
  • 0

Kordy


gnomsy

Pytanie

Rekomendowane odpowiedzi

  • 0

Na BossBarze, Title, Subtitle itd. :bezkappy: 

on death of player:
	set {x.%player%} to player's x-coordinate
	set {y.%player%} to player's y-coordinate
	set {z.%player%} to player's z-coordinate
command /smierc:
	trigger:
		send "&eX &6%{x.%player%}% &eY &6%{y.%player%}%&eZ &6%{x.%player%}%"
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

albo

on death of player:
	set {home.%player%} to the location of the player
command /smierc:
	trigger:
		send "&e%{home.%player%}%"
variables:
	{home.%player%} = 0

albo

on death of player:
	set {_loc.%player%} to player's x-coordinate, player's y-coordinate, player's z-coordinate of the world <nazwa świata>
command /smierc:
	trigger:
		send "&e%{_loc.%player%}%"

 

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152122
Udostępnij na innych stronach

  • 0
1 minutę temu, yooniks napisał:

on death:
	victim is player
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" to victim parsed as player

 

1 błąd : parsed as player i not entity...

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152127
Udostępnij na innych stronach

  • 0
11 minut temu, gnomsy napisał:

1 błąd : parsed as player i not entity...

on death of player:
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"

Chociaż nie gwarantuje że zadziała bo obstawiam że @yooniks skopiował po mnie z-coordinate of player i myślał że istnieje taka zmienna, a pewnie nie istnieje :kappa: :kappa: 

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152131
Udostępnij na innych stronach

  • 0
5 minut temu, Rejszpat napisał:

on death of player:
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"

Chociaż nie gwarantuje że zadziała :kappa: 

nie działa :v 

23 minuty temu, Rejszpat napisał:

Na BossBarze, Title, Subtitle itd. :bezkappy: 


on death of player:
	set {x.%player%} to player's x-coordinate
	set {y.%player%} to player's y-coordinate
	set {z.%player%} to player's z-coordinate
command /smierc:
	trigger:
		send "&eX &6%{x.%player%}% &eY &6%{y.%player%}%&eZ &6%{x.%player%}%"
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

albo


on death of player:
	set {home.%player%} to the location of the player
command /smierc:
	trigger:
		send "&e%{home.%player%}%"
variables:
	{home.%player%} = 0

albo


on death of player:
	set {_loc.%player%} to player's x-coordinate, player's y-coordinate, player's z-coordinate of the world <nazwa świata>
command /smierc:
	trigger:
		send "&e%{_loc.%player%}%"

 

a możesz zrobić bezpośrednią wiadomość na czat? bez komendy

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152134
Udostępnij na innych stronach

  • 0

Na BossBarze, Title, Subtitle itd. :bezkappy: 

on death of player:
	set {x.%player%} to player's x-coordinate
	set {y.%player%} to player's y-coordinate
	set {z.%player%} to player's z-coordinate
	send "&eX &6%{x.%player%}% &eY &6%{y.%player%}%&eZ &6%{x.%player%}%"
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

albo

on death of player:
	set {home.%player%} to the location of the player
	send "&e%{home.%player%}%"
variables:
	{home.%player%} = 0

albo

on death of player:
	set {_loc.%player%} to player's x-coordinate, player's y-coordinate, player's z-coordinate of the world <nazwa świata>
	send "&e%{_loc.%player%}%"
Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152136
Udostępnij na innych stronach

  • 0

Nie wy

1 minutę temu, Rejszpat napisał:

Na BossBarze, Title, Subtitle itd. :bezkappy: 


on death of player:
	set {x.%player%} to player's x-coordinate
	set {y.%player%} to player's y-coordinate
	set {z.%player%} to player's z-coordinate
	send "&eX &6%{x.%player%}% &eY &6%{y.%player%}%&eZ &6%{x.%player%}%"
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

albo


on death of player:
	set {home.%player%} to the location of the player
	send "&e%{home.%player%}%"
variables:
	{home.%player%} = 0

albo


on death of player:
	set {_loc.%player%} to player's x-coordinate, player's y-coordinate, player's z-coordinate of the world <nazwa świata>
	send "&e%{_loc.%player%}%"

nic nie wyświetla :v 

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152138
Udostępnij na innych stronach

  • 0
11 minut temu, Rejszpat napisał:

on death of player:
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"

Chociaż nie gwarantuje że zadziała bo obstawiam że @yooniks skopiował po mnie z-coordinate of player i myślał że istnieje taka zmienna, a pewnie nie istnieje :kappa: :kappa: 

aż tacy są tu idioci? Zawsze uzywam "x-coordinate of player", nawet mozna to zobaczec po moich postach sprzed kilku miesięcy na mpcforum.

 

topic:

on death:
	victim is player
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"
#lub
#	send "Zginales! Koordy: %player's z-coordinate%, %player's y-coordinate%, %player's z-coordinate%"

 

1 minutę temu, Rejszpat napisał:

Okej... Czaje.. Musi być to victim pewnie

Dopisz do każdej linijki która ma send "[...]" to victim

nie nie musi byc, nie znasz sie to nie pisz bo to jest smieszne

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152141
Udostępnij na innych stronach

  • 0
Teraz, yooniks napisał:

aż tacy są tu idioci? Zawsze uzywam "x-coordinate of player", nawet mozna to zobaczec po moich postach sprzed kilku miesięcy na mpcforum.

 

topic:


on death:
	victim is player
	send "Zginales! Koordy: %z-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"
#lub
#	send "Zginales! Koordy: %player's z-coordinate%, %player's y-coordinate%, %player's z-coordinate%"

 

nie nie musi byc, nie znasz sie to nie pisz bo to jest smieszne

Dzięki, wszystko działa :)

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152142
Udostępnij na innych stronach

  • 0
on death of player:
	set {x.%victim%} to victim's x-coordinate
	set {y.%victim%} to victim's y-coordinate
	set {z.%victim%} to victim's z-coordinate
	send "&eX &6%{x.%victim%}% &eY &6%{y.%victim%}%&eZ &6%{x.%victim%}%" to victim
variables:
	{x.%player%} = 0
	{y.%player%} = 0
	{z.%player%} = 0

 

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152143
Udostępnij na innych stronach

  • 0
Teraz, Rejszpat napisał:

on death of player:
	set {x.%victim%} to victim's x-coordinate
	set {y.%victim%} to victim's y-coordinate
	set {z.%victim%} to victim's z-coordinate
	send "&eX &6%{x.%victim%}% &eY &6%{y.%victim%}%&eZ &6%{x.%victim%}%" to victim
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

 

dzięki działa :) 

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152144
Udostępnij na innych stronach

  • 0
1 minutę temu, Rejszpat napisał:

on death of player:
	set {x.%victim%} to victim's x-coordinate
	set {y.%victim%} to victim's y-coordinate
	set {z.%victim%} to victim's z-coordinate
	send "&eX &6%{x.%victim%}% &eY &6%{y.%victim%}%&eZ &6%{x.%victim%}%" to victim
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

 

błagam nieee, przeciez mozesz uzywac zmiennych tymczasowych lub od razu %victim's y-coordinate% itd, a ty zapelniasz variables.csv niepotrzebnymi zmiennymi

Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152145
Udostępnij na innych stronach

  • 0
2 minuty temu, Rejszpat napisał:

on death of player:
	set {x.%victim%} to victim's x-coordinate
	set {y.%victim%} to victim's y-coordinate
	set {z.%victim%} to victim's z-coordinate
	send "&eX &6%{x.%victim%}% &eY &6%{y.%victim%}%&eZ &6%{x.%victim%}%" to victim
variables:
	{x.%player%} = 0
	{x.%player%} = 0
	{x.%player%} = 0

 

a jednak nie, pokazuje 2 razy x / poprawiłem

Edytowane przez gnomsy
Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152147
Udostępnij na innych stronach

  • 0
1 minutę temu, Rejszpat napisał:

on death of player:
	set {x.%victim%} to victim's x-coordinate
	set {y.%victim%} to victim's y-coordinate
	set {z.%victim%} to victim's z-coordinate
	send "&eX &6%{x.%victim%}% &eY &6%{y.%victim%}%&eZ &6%{x.%victim%}%" to victim
variables:
	{x.%player%} = 0
	{y.%player%} = 0
	{z.%player%} = 0

 

Mój głupi ctrl+v niestety zadziałał i przegapiłem te linijki :kappa: 

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/22348-kordy/#findComment-152149
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ę...