stonefisher Posted June 5, 2017 Share Posted June 5, 2017 (edited) Can OnTutorialEvent do anything other than just send messages because its the only thing i have found that can notice when you leave a workbench which would be really handy for my mods. wiki page: https://www.creationkit.com/fallout4/index.php?title=OnTutorialEvent_-_ScriptObject Edited June 5, 2017 by stonefisher Link to comment Share on other sites More sharing options...
shavkacagarikia Posted June 5, 2017 Share Posted June 5, 2017 Yes it just sends message. But you can also use OnMenuOpenCloseEvent as well for detecting when you enter/leave workbench menu.https://www.creationkit.com/fallout4/index.php?title=OnMenuOpenCloseEvent_-_ScriptObject Link to comment Share on other sites More sharing options...
stonefisher Posted June 5, 2017 Author Share Posted June 5, 2017 Ah, i saw that earlier but could not see the ones referring to workbenchs in the list. If you would be so kind as to point them out. Also whats menu is: BSOverlayMenu? Link to comment Share on other sites More sharing options...
shavkacagarikia Posted June 5, 2017 Share Posted June 5, 2017 Sorry, I'm wrong, was kinda sure that there were eventNames for workbenches too as there is for Workshop and Chemistry Station. Link to comment Share on other sites More sharing options...
stonefisher Posted June 5, 2017 Author Share Posted June 5, 2017 Tragey :( My hopes are crushed. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted June 5, 2017 Share Posted June 5, 2017 (edited) what exactly you want to do? Edited June 5, 2017 by shavkacagarikia Link to comment Share on other sites More sharing options...
stonefisher Posted June 5, 2017 Author Share Posted June 5, 2017 Oh a restricted portable weapons workbench. This could have been done with one relatively simple small script if i could just use the workbench closing as a trigger to do something. Course mind you it dousnt help that I am allergic to coding. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted June 5, 2017 Share Posted June 5, 2017 You can probably use OnTutorialEvent for that case. something like this: Event OnInit() RegisterForTutorialEvent() endevent Event OnTutorialEvent(String asEventName, Message aMessage) if (asEventName == "WeaponsWorkbenchExited") ;Do your stuff endif RegisterForTutorialEvent() endEvent Link to comment Share on other sites More sharing options...
stonefisher Posted June 5, 2017 Author Share Posted June 5, 2017 Cool thank you. Also think Event OnExitFurniture(ObjectReference akActionRef) would work since they are furniture. just found it: https://www.creationkit.com/fallout4/index.php?title=OnExitFurniture_-_ObjectReference I do need to block access to the workbenchs storage to avoid exploits, do you know how I can do that? Link to comment Share on other sites More sharing options...
shavkacagarikia Posted June 5, 2017 Share Posted June 5, 2017 How are you going that workbench to be called. an item in inventory which opens workbench menu, or item which when used places workbench near player? Link to comment Share on other sites More sharing options...
Recommended Posts