i have this script (see below)
the script does work, the message box comes up and pressing button 0 does activate the crafting system.
but. The crafting menu only kicks in after the player quits the inventory AND presses activate.
until the player presses activate after the inventory is closed, all controls except movement are locked.
what i would like it to do is when option 1 is pressed, it automatically closes the inventory and activates the crafting system.
the craft function it activates is connected to a custom tanning rack in a test cell that only lets the player craft items with a specific keyword.
if anyone knows what i need to add to this script to make it automatically close the inventory and activate the crafting function, please let me know!
thanks

Scriptname _b2bk_fletcher_script extends ObjectReference import debug import utilityobjectreference property fletcher autoMessage property Fletcher_choices autoEvent OnEquipped(Actor akActor) Int iButton = Fletcher_choices.Show() If (iButton == 0) Craft() ElseIf (iButton == 1) EndIfendEventfunction Craft() fletcher.Activate(Game.GetPlayer()) endFunction