#Open chest with 6 rows (an script similar to double chest bug)

1 messages · Page 1 of 1 (latest)

lethal crescent
#

AND

#

IT DOSENT WORK

upbeat owl
#

can you elaborate?

#

are there errors?

lethal crescent
#

yes

#

can i show photos

upbeat owl
#

mhmm

lethal crescent
upbeat owl
#

try chest inventory, not chest

lethal crescent
#

Works!!

#

and

#

for example

#

i want to make an slot

#

for example an slot with an head

#

how i can do this?

earnest sun
#

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

lethal crescent
#

and slot head

#

instead of item

earnest sun
#

Idk what you mean if you can say a bit more

lethal crescent
#

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?

earnest sun
#

well

#

never used heads for slots

#

but wdym with any texture

lethal crescent
#

something like this

earnest sun
#

ohhhh

#

idk i have never tried to do heads with stuff like that

lethal crescent
#

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)

earnest sun
#

set slot [slot] of [name of inv] to red stained glass pane named "whatever name u want

earnest sun
#

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

upbeat owl
#

are you using the skript-gui addon, or are you just making a gui with skript (no addons)?

lethal crescent
#

but i said

#

basically slot 10

#

to be red_stained_glass_pane

#

and it dosent work

upbeat owl
#

no underscores

lethal crescent
#

@upbeat owl

#

still not apears

#

the item

upbeat owl
#

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

lethal crescent
#

and no errors

upbeat owl
#

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

lethal crescent
#

yeah...

indigo fern
#

@upbeat owl long time no see friend, see you're still losing braincells lol