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: Sclerocephalus
Platform: All
Severity: Very Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Sep 12, 2019 2:03 pm
Last Edited By Sclerocephalus on Sep 22, 2019 6:43 am
Closed By Sclerocephalus on Nov 22, 2019 9:01 am
Resolution: Fixed
Comment: Fixed for UFO4P 2.1.0

Issue #27440: DLC04:DLC04_RQ_QuestScript - Cannot call SetPlayerEnemy() on a None object

 
[09/06/2019 - 07:29:40PM] error: Cannot call SetPlayerEnemy() on a None object, aborting function call
stack:
[DLC04_RQ_DefendCache (0602191C)].DLC04:DLC04_RQ_QuestScript.MakeEnemyCrimeFactionAngry() - "g:\_F4\DLC04\Art\Raw\Scripts\DLC04\DLC04_RQ_QuestScript.psc" Line 323
[DLC04_RQ_DefendCache (0602191C)].DLC04:Fragments:Quests:QF_DLC04_RQ_DefendCache_0102191C.Fragment_Stage_0011_Item_00() - "g:\_F4\DLC04\Art\Raw\Scripts\DLC04\Fragments\Quests\QF_DLC04_RQ_DefendCache_0102191C.psc" Line 80

Comments

1 comment(s) [Closed]
Sclerocephalus said:
 
The script variable EnemyCrimeFaction may be none. This variable is set in the script's startup function, by reading the crime faction of the spawned actor. Thus, if it's none, this actor had no crime faction.

Added a sanity check.

Showing Comments 1 - 1 of 1