Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/
       

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Very Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on May 13, 2018 7:04 am
Last Edited By Sclerocephalus on May 13, 2018 7:11 am
Closed By Sclerocephalus on May 18, 2018 6:47 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.4

Issue #24484: traptripwire - the animation graph (TRAP) cannot currently process event "Reset"

[05/13/2018 - 01:35:32AM] error: (00062886): the animation graph (TRAP) cannot currently process event "Reset".
stack:
[ (00062886)].traptripwire.PlayAnimation() - "<native>" Line ?
[ (00062886)].traptripwire.UFO4P_ResetTrap() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\traptripwire.psc" Line 286
[ (00062886)].traptripwire.SetArmed() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\traptripwire.psc" Line 241
[ (00110235)].DN047DoorMasterScript.resetstate.OnBeginState() - "g:\_F4\Art\Raw\Scripts\DN047DoorMasterScript.psc" Line 22
[ (00110235)].DN047DoorMasterScript.GotoState() - "" Line 42
[ (00110235)].DN047DoorMasterScript.active.OnActivate() - "g:\_F4\Art\Raw\Scripts\DN047DoorMasterScript.psc" Line 40
[05/13/2018 - 01:35:34AM] error: (00062886): the animation graph (TRAP) cannot currently process event "Reset".
stack:
[ (00062886)].traptripwire.PlayAnimation() - "<native>" Line ?
[ (00062886)].traptripwire.UFO4P_ResetTrap() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\traptripwire.psc" Line 286
[ (00062886)].traptripwire.SetArmed() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\traptripwire.psc" Line 241
[ (00110235)].DN047DoorMasterScript.resetstate.OnBeginState() - "g:\_F4\Art\Raw\Scripts\DN047DoorMasterScript.psc" Line 22
[ (00110235)].DN047DoorMasterScript.GotoState() - "" Line 42
[ (00110235)].DN047DoorMasterScript.active.OnActivate() - "g:\_F4\Art\Raw\Scripts\DN047DoorMasterScript.psc" Line 40

This error occurs if an external script (in this case DN047DoorMasterScript) tries to reset a trap but doesn't check whether that trap is reset already (and DN047DoorMasterScript doesn't check this). If the trap is reset already when this function is called, an animation graph error is inevitable.

Fortunately, TrapTripWireScript stores the trap state in a tracking bool. We only have to check that bool at the start of the reset function and bail out if it indicates that the trap is reset already.