FaultyFalcon Posted August 14, 2016 Posted August 14, 2016 I have a papyrus fragment attached to a terminal menu item that is not executing. It compiles with no problems. The code is listed below. const ScriptName Fragments:Terminals:TERM__FaultysMenu_Cheater_Co_01007A0F extends Terminal hidden ;-- Properties --------------------------------------FormList Property p_fl_MyCompList AutoMiscObject Property p_c_Acid AutoMiscObject Property p_c_Adhesive AutoMiscObject Property p_c_Aluminum AutoMiscObject Property p_c_AntiBallisticFiber AutoMiscObject Property p_c_Antiseptic AutoMiscObject Property p_c_Asbestos Auto ;-- Variables --------------------------------------- ;-- Functions --------------------------------------- Function Fragment_Terminal_04(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_Aluminum as Form, 100, False)EndFunction Function Fragment_Terminal_05(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_AntiBallisticFiber as Form, 100, False)EndFunction Function Fragment_Terminal_02(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_Acid as Form, 100, False)EndFunction Function Fragment_Terminal_06(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_Antiseptic as Form, 100, False)EndFunction Function Fragment_Terminal_07(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_Asbestos as Form, 100, False)EndFunction Function Fragment_Terminal_03(ObjectReference akTerminalRef)Game.GetPlayer().AddItem(p_c_Adhesive as Form, 100, False)EndFunction I am at a loss as to why it is not working.
TummaSuklaa Posted August 15, 2016 Posted August 15, 2016 Well. That's what happens when you don't listen/read what someone says.
FaultyFalcon Posted August 16, 2016 Author Posted August 16, 2016 TummaSuklaa, I did do what was suggested in my other post. That didn't work either. I decided to try it a different way, I posted the code to show that there is nothing wrong with it. The problem is not with the code, but with my Fallout 4 setup (I think). Just need a pointer in the right direction as to where the problem might lie. From reading other posts i have tried modifying the configuration files, tried creating an archive file. I can browse the menu that i have created in game, but it will not execute the script. So, that brings me back to my original statement -- I am at a loss as to why it is not working.
madmatty946 Posted October 23, 2016 Posted October 23, 2016 I have exactly the same problem. Did you figure out a solution?
madmatty946 Posted October 24, 2016 Posted October 24, 2016 Did you remember to fill the properties?Actually I found out that the script DOES execute, only it takes a VERY long time (multiple minutes) until it does. I am still stumped as to what the problem is, I have opened this thread here.
Recommended Posts