Mam ogromny problem. Nie działa mi w skripcie sczytywanie w funkcji nazwy inventory.
Robię to tak:
Method "testowa" {gracz}: set {_g} to arg{1}; open chest with 3 rows named "&1<est" to {_g} parsed as player set {_test} to inventory name of current inventory of {_g} parsed as player send "%{_test}%" to {_g} parsed as playercommand test: trigger: function "testowa" {"%player%"};
Output po wpisaniu /test: <none>
Powinno być: &1<est
Gdy zrobię to bez funkcji, wszystko działa poprawnie.
Pytanie
piter909 4
Hej
Mam ogromny problem. Nie działa mi w skripcie sczytywanie w funkcji nazwy inventory.
Robię to tak:
Method "testowa" {gracz}: set {_g} to arg{1}; open chest with 3 rows named "&1<est" to {_g} parsed as player set {_test} to inventory name of current inventory of {_g} parsed as player send "%{_test}%" to {_g} parsed as playercommand test: trigger: function "testowa" {"%player%"};Odnośnik do komentarza
https://skript.pl/temat/7593-current-inventory-w-funkcji-i-poza-ni%C4%85/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi