Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Proszę o pomoc z komendami w wirtualnej skrzyni


FiruuGaming

Rekomendowane odpowiedzi

Opublikowano

Mam małe pytanie do bardziej zaawansowanych użytkowników skript'a, a raczej skquery. Dokładnie chodzi mi o specialne komendy w wirtualnej skrzynii, czyli. Mam zaużmy taki kod:

open chest with 4 rows named "Skille" to the player
wait 1 tick
format slot 0 of player with 160:7 named "Strzaly" to close then run "/strzaly"

command /spikes:
    trigger:
        make the player shoot arrow at speed 1 north
        make the player shoot arrow at speed
1 north east
        make the player shoot arrow at speed
1 north west
        make the player shoot arrow at speed
1 south
        make the player shoot arrow at speed
1 south east
        make the player shoot arrow at speed
1 south west
        make the player shoot arrow at speed
1 west
        make the player shoot arrow at speed
1 east

Lecz "format slot 0 of player with 160:7 named "Strzaly to close then run "/strzaly" "  Nie wykonuje komendy :( Jeżeli wie ktoś jak to naprawić, proszę napisać, oczywiście odwdzięcze się naj i like

Pomogłem? Daj like ;)

Opublikowano

@FiruuGaming

"close then run" wykonuje komendę przez konsolę.

Więc to tak jak byś chciał aby konsola wystrzeliła strzały, musisz zmodyfikować lekko skrypt na taki:

command /spikes [<player>]:
    trigger:
        if player-arg is set:
            if executor is console:
                make the player-arg shoot arrow at speed 1 north
                make the player-arg shoot arrow at speed 1 north east
                make the player-arg shoot arrow at speed 1 north west
                make the player-arg shoot arrow at speed 1 south
                make the player-arg shoot arrow at speed 1 south east
                make the player-arg shoot arrow at speed 1 south west
                make the player-arg shoot arrow at speed 1 west
                make the player-arg shoot arrow at speed 1 east
        else:
            make the player shoot arrow at speed 1 north
            make the player shoot arrow at speed 1 north east
            make the player shoot arrow at speed 1 north west
            make the player shoot arrow at speed 1 south
            make the player shoot arrow at speed 1 south east
            make the player shoot arrow at speed 1 south west
            make the player shoot arrow at speed 1 west
            make the player shoot arrow at speed 1 east

a w drugim kodzie w komendzie po close then run dodać argument %player%, czyli tak:

format slot 0 of player with 160:7 named "Strzaly" to close then run "/spikes %player%"

Nie wiem czy ma być spikes czy strzały, namieszane coś jest. Ja zostanę przy spikes :)

Opublikowano

open chest with 4 rows named "Skille" to the player
wait 1 tick
format slot 0 of player with 160:7 named "Strzaly" to close then run "/strzaly"

 

/strzaly <- to ma gracz wykonać?

160:7 <- lepiej pisać nazwą

Tak powinno zadziałać

 


open chest with 4 rows named "Skille" to the player
wait 1 tick
format slot 0 of player with gray glass named "Strzaly" to close then run [make player execute "/strzaly"]

409.jpg?7190

|---> Z o s t a n ę <---|

 

Zostanę technikiem na twój serwer minecraft, zrobie cały serwer według twojego pomysłu!
http://www.mpcforum.pl/topic/1486254-zostanę-technikiem-stworzę-serwer-twojego-pomysłu/#entry12589185

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...