Flag Undroppable

Is there a way to make any item get flagged as undroppable when removed from a chest? I’m not having any luck with this script or similar variations as OnDisturbed.

{
     object oItem=GetInventoryDisturbItem();
     object oPC=GetLastDisturbed();
     SetDroppableFlag(oItem, FALSE);
}

Are you sure SetDroppableFlag() is what you want to do?

Use SetItemCursedFlag() to disallow dropping or selling an item.

1 Like

That’s what I was missing, thanks.