View Single Post
02/10/22, 10:12 PM   #1
TheScrew
Join Date: Feb 2022
Posts: 2
Detect changing tabs

TL;DR: I'm trying to keep a keybinding in the keybind strip of the crafting stations, all except alchemy and provisioning, that deconstructs stuff, but it vanishes when I change tabs in the interface. How can I detect the tab change events? I can't seem to find them in the docs.


I managed to get it there and remove by capturing the EVENT_CRAFTING_STATION_INTERACT and EVENT_END_CRAFTING_STATION_INTERACT events and using the KEYBIND_STRIP methods.
Whenever an item gets deconstructed, though, it seems to vanish. I made a bit of a workaround my removing it on EVENT_CRAFT_STARTED and re-adding on EVENT_CRAFT_COMPLETED. Is there some better way to keep it there permanently, both with crafting events and tab changes?
  Reply With Quote