Choosing a dialogue button that drops the item when it is held don't drop the selected item that you have in your inventory


I have made a system in Stab.io to detect if the player was caught giving out or got given out, i have the dialogues that gives a disclaimer that may risk to be OP item or might be most used for giving out.


When clicking on the “Yes” button was supposed to drop the item that you held, but clicking on it don’t drop the held item in your inventory.
fixbug1

When looking at the item that i selected in the hotbar after clicking on the button, it doesn’t even disappear, which is a shame, I skimmed deeper to the scripts

I found the script, It wasn’t running the action after clicking on the button at all!

You should use “selected unit” instead of “last triggering unit” in the drop items action.

2 Likes