More data for on_player_used_capsule
Posted: Mon Jan 13, 2020 9:32 pm
I am abusing capsules to make click-and-drag functionality for some of my mods. Right now, I am only limited to one function per capsule: left-click and drag. However, there are tons of things I want to do with capsules, that can only be accomplished with more kinds of interaction.
So would it be possible to include alt, shift, and control parameters in the event table, similar to on_gui_click? That way I could do different things depending on what the player has held down when the capsule is thrown. I realize that this isn't what capsules are normally meant for, but there is no other solution to click-and-drag that I know of.
Thanks in advance!
So would it be possible to include alt, shift, and control parameters in the event table, similar to on_gui_click? That way I could do different things depending on what the player has held down when the capsule is thrown. I realize that this isn't what capsules are normally meant for, but there is no other solution to click-and-drag that I know of.
Thanks in advance!