Welcome to the AFK Mods bug tracker. In order to report an issue, you need to have a VALIDATED account to post one. Once you have followed the link the registration email sent you, 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.

Please also consider sending your bug report to Bethesda if you are reporting on an issue with Skyrim Special Edition, Fallout 4, or Starfield. Doing so will help everyone on all platforms.

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Papyrus
Assigned To: Nobody
Platform: All
Severity: Very Low
Votes: 0
Watching: N/A
Opened By DarthVitrial on Jul 30, 2022 5:39 pm
Closed By Arthmoor on Feb 12, 2023 1:05 am
Resolution: Not A Bug

Issue #32550: Possible papyrus error in DN045_MonorailScript

Errors tend to be along the lines of
error: Cannot call BlockActivation() on a None object, aborting function call
[ (09010B77)].DN045_MonorailScript.BlockButtons() - "g:\_F4\Art\Raw\Scripts\DN045_MonorailScript.psc" Line 129
[ (09010B77)].DN045_MonorailScript.StartTrain() - "g:\_F4\Art\Raw\Scripts\DN045_MonorailScript.psc" Line 143
[ (09010B77)].DN045_MonorailScript.OnCellAttach() - "g:\_F4\Art\Raw\Scripts\DN045_MonorailScript.psc" Line 54

While this is a mod-added version I think it applies to vanilla as well, because the "OnCellAttach" code calls those functions without making sure the monorail has actually loaded first. I think it just needs a self.waitfor3DLoad() call at the start of the OnCellAttach function to resolve these errors.


3 comment(s) [Closed]
Sclerocephalus said:
You wouldn't get a 'none' error if it was only a 3D issue. Moreover, BlockActivation() does not require 3D.

DarthVitrial said:
Ah, ok. Probably not a vanilla issue then, though a waitfor3d check might still be useful for other safety checks in the OnCellAttach?

Arthmoor said:
DN045_MonorailScript is only used on a single activator which has 2 references placed in West Roxbury Station. All 5 of the buttons are correctly configured, so changing this script is not warranted as it isn't a vanilla bug.

Whatever form ID 09010B77 belongs to hasn't set all the linked references up correctly.

Showing Comments 1 - 3 of 3