Skocz do zawartości
  • 0

event-block


xSztixPL

Pytanie

 

On mine of stone:
	chance of 10%:
		set event-block to air
		set {skrzynka.%player%} to location of chest
		loop 5 times:
			add a random item out of all items to inventory of event-block
			wait 10 ticks
			exit loop
			wait 20 seconds
			set event-block to air
On rightclick on chest:
	location of event-block is {skrzynka.%player%}:
		wait 5 seconds
		set event-block to air
		delete {skrzynka.%player%}

jak to napisac bo zamiast brac skrzynke za event block to bierze ten kamien za event block w sumie logiczne ale jak zrobic zeby do skrzynki trafialy te itemy

Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/8392-event-block/
Udostępnij na innych stronach

12 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Gość DonFallingCookie
on mine of stone:    chance of 10%:        set {_loc} to location of event-block        set block at {_loc} to chest        set {skrzynka.%player%} to {_loc}        loop 5 times:            set {_} to a random item out of all items            add {_} to inventory of block at {_loc}        wait 20 seconds        set block at {_loc} to air
Odnośnik do komentarza
https://skript.pl/temat/8392-event-block/#findComment-65892
Udostępnij na innych stronach

  • 0

o błędzików :3 czy podołasz :D???

 

@DonFallingCookie

on mine of stone:
    chance of 10%:
        set {_loc} to location of event-block
        set block at {_loc} to chest
        set {skrzynka.%player%} to {_loc}
        loop 5 times:
            set {_} to a random item out of all items
            add {_} to inventory of block at {_loc}
        wait 20 seconds
        set block at {_loc} to air
On rightclick on chest:
	location of event-block is {skrzynka.%player%}:
		wait 5 seconds
		set event-block to air
		delete {skrzynka.%player%}

 

teraz dziala ale skrzynka nie jest jako blok tylko lezy na ziemi a obok te itemy grasz dalej ? XD

Odnośnik do komentarza
https://skript.pl/temat/8392-event-block/#findComment-65909
Udostępnij na innych stronach

  • 0
Gość DonFallingCookie

Polajkuj mi wszystkie posty XD

on mine of stone:    chance of 10%:		set event-block to air		wait 10 ticks        set {_loc} to location of event-block        set block at {_loc} to chest        set {skrzynka.%player%} to {_loc}        loop 5 times:            set {_} to a random item out of all items            add {_} to inventory of block at {_loc}        wait 20 seconds        set block at {_loc} to airon rightclick on chest:	location of event-block is {skrzynka.%player%}:		wait 5 seconds		set event-block to air		delete {skrzynka.%player%}
Odnośnik do komentarza
https://skript.pl/temat/8392-event-block/#findComment-65934
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ę...