#Open chest with 6 rows (an script similar to double chest bug)
1 messages · Page 1 of 1 (latest)
mhmm
try chest inventory, not chest
Works!!
and
for example
i want to make an slot
for example an slot with an head
how i can do this?
if you mean like put a slot in a place on the chest do set slot [whichever slot you want] to [item] named "[name]"
oh wait
that’s wrong
set slot [slot] of {[name of the inv]} to [item] named "[name]" should be correct
not sure if its possible as how your doing it never tried that way
and how i can make an slot with heads?
and slot head
instead of item
Idk what you mean if you can say a bit more
alr so
instead of an stick to be in slot 1
to be basically an Head
with any texture
do you understand
or need more details?
maybe a bit more
well
never used heads for slots
but wdym with any texture
and for example
how i can set an slot
to be red_stained_glass_pane
any slot
for example slot 11
to have that item
(the last thing btw)
set slot [slot] of [name of inv] to red stained glass pane named "whatever name u want
DOSENT work...
uhm
I would reccomend using
set {menu} to a new chest inventory with 6 rows named "name" open {menu} to player
then instead of menu use {menu}
name is optional
you can do whatever you want for the chest name and {} name
are you using the skript-gui addon, or are you just making a gui with skript (no addons)?
The variable can also be local
yes
but i said
basically slot 10
to be red_stained_glass_pane
and it dosent work
no underscores
well yeah
you open it before you add the item to the gui
you should be doing set {_GUI} to chest inventory.... set slot x of {_GUI} to {_someItem} open {_GUI} to player
still the item dosent apear
and no errors
that is not what i told you to do
the fist line (first line of the gui, line 3 in the file) is still opening the gui
you dont want to open it until the very end
just set a local variable to it, then format the variable, then open it
yeah...
@upbeat owl long time no see friend, see you're still losing braincells lol