Jump to content

Papyrus fragment not executing


Recommended Posts

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 Auto
MiscObject Property p_c_Acid Auto
MiscObject Property p_c_Adhesive Auto
MiscObject Property p_c_Aluminum Auto
MiscObject Property p_c_AntiBallisticFiber Auto
MiscObject Property p_c_Antiseptic Auto
MiscObject 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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...