AlreadyBanned Posted November 10, 2016 Share Posted November 10, 2016 For the life of me I cannot figure out what I am doing wrong... Scriptname Test extends Quest Const Event OnQuestInit() RegisterForMenuOpenCloseEvent("LockpickingMenu") Debug.Trace("The Quest Fired!!") EndEvent Event OnMenuOpenCloseEvent(string asMenuName, bool abOpening) If (asMenuName== "LockpickingMenu") If (abOpening) Debug.Trace("Joy!!") EndIf EndIf EndEvent I have tried without parenthesis, if abOpening == false and using almost every "MenuType"The Quest fires but still no Joy. Any help would be appreciated. Link to comment Share on other sites More sharing options...
kinggath Posted November 10, 2016 Share Posted November 10, 2016 Nothing else is completing or stopping the quest, correct? This event is auto unregistered when that happens. Link to comment Share on other sites More sharing options...
kinggath Posted November 10, 2016 Share Posted November 10, 2016 I haven't used it with the lockpickingmenu yet, so I can't confirm, but there's always a chance the CK site has it incorrect. Try lockpickmenu without the ing, or try a different menu to make sure your code is good and firing in the right place (it looks good, but clearly you're having no luck so we've gotta test basic things). Link to comment Share on other sites More sharing options...
werr92 Posted November 10, 2016 Share Posted November 10, 2016 Lets check the real basic things first. Is option to load loose files enabled in ini and have you tried messagebox() instead of trace()? Link to comment Share on other sites More sharing options...
AlreadyBanned Posted November 10, 2016 Author Share Posted November 10, 2016 (edited) Correct, the quest is an open "infinite" quest I have tried Pipboymenu CookingMenu and a few others but I really need is the chem station. EDIT: Yes, messagebox and notification...no Joy Edited November 10, 2016 by AlreadyBanned Link to comment Share on other sites More sharing options...
kinggath Posted November 10, 2016 Share Posted November 10, 2016 CookingMenu is the one for the chemistry station. Try setting a message for ! abOpening as well and see if that fires. Link to comment Share on other sites More sharing options...
AlreadyBanned Posted November 10, 2016 Author Share Posted November 10, 2016 That figures...assumed cookingmenu was...well...the cooking station.OK..awesome..thank you we have JOY! Odd that the PipboyMenu was not though....was thinking it was completely bugged Link to comment Share on other sites More sharing options...
kinggath Posted November 10, 2016 Share Posted November 10, 2016 They aren't always named in an obvious way, for example CookingMenu is any menu you can create things from scratch. PipboyMenu probably refers to something specific with the pipboy, not necessarily lifting it up and looking at it. Link to comment Share on other sites More sharing options...
AlreadyBanned Posted November 10, 2016 Author Share Posted November 10, 2016 Thank you very much, you have saved me quite a bit in aspirin. Link to comment Share on other sites More sharing options...
Recommended Posts