#Clone inventory and drop it

1 messages · Page 1 of 1 (latest)

pallid vector
#

I cant quite figure out how to do this. Im trying to make a skript that when a player dies there inventory will get copied and droped on the ground but they will still keep it.

    set {_player} to victim
    set {_inventory} to a new inventory
    loop {_item} over {_player}'s items:
        add {_item} to {_inventory}
    drop all of {_inventory} at location of {_player}
    cancel event```

This skript is not working and if there is anybody who knows how to please help me with this
stone root
#

ofc its not working

#

you never set {_item}

#

why set those local variables? you have the expressions

#

also couldnt you just set a list to the drops

pallid vector
#

I suck at skript

stone root
pallid vector
#

yea prob lmao

stone root
#

i would just set a local list to the drops and then use that

#

instead of looping the inventory

keen depot
#

@pallid vector please don't bypass our swear filter, it's there for a reason c:

keen depot
#

np

wheat saddle
wheat saddle
stone root
#

i'm not sure