#On drop for death (not solved)

1 messages · Page 1 of 1 (latest)

iron depot
#

check the drops in the on death event

deep nimbus
#

how can i check the drops?

iron depot
#

it's just drops
that's why I put it in a code block

deep nimbus
#

i mean the syntax

iron depot
#

The expression is drops
nothing else to it. I'm not sure what's confusing

deep nimbus
#
    drops```
#

so you mean that?

iron depot
#

an expression itself is not a valid syntax
It's part of an effect
such as set ... to ...
in this case it can be set {_droppedItems::*} to drops
drops is just the dropped items, I can;t give you the exact code since I have no clue what you want to do with it

#

Simply to get the dropped items in a death event, it's drops
from here you should be able to figure out what you want to do xD

burnt adder
deep nimbus
#

That's why i asked what's the syntax but you were saying it's just drops multiple times

#

didn't say expression but syntax

iron depot
#

I'm not sure what's the problem here

burnt adder
iron depot
#

xD

#

But anyways, any hope any confusion is resolved now

deep nimbus
#

lol

#

how would the code look like if i wanted to check if the dropping is caused by death as i said in the post description?

#

if you're ok with that

#

ok you're not

#

anyone can help me checking if the player dropped items because of death?

#

someone please?