Unofficial Fallout 4 Patch

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Quests
  • Assigned To
    Sclerocephalus
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version Fallout 4: Vanilla
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Unofficial Fallout 4 Patch
Opened by Sclerocephalus - March 12 2017
Last edited by Arthmoor - May 06 2017

FS#22123 - FollowersScript - Cannot call GetRace() on a None object

A nice one: “DogmeatRef is not DogmeatRace”:

[03/11/2017 - 02:01:33PM] error: Cannot call GetRace() on a None object, aborting function call
stack:

[Followers (000289E4)].followersscript.SetDogmeatCompanion() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\followersscript.psc" Line 944
[DogmeatQuest (0006DFAF)].Fragments:Quests:QF_DogmeatQuest_0006DFAF.Fragment_Stage_0004_Item_00() - "g:\_F4\Art\Raw\ScriptsMilestone\Fragments\Quests\QF_DogmeatQuest_0006DFAF.psc" Line 71

Since I’m currently running that script in debug mode, I also got the following message:
[03/11/2017 - 02:01:33PM] [followersscript <Followers (000289E4)>]SetDogmeatCompanion() DogmeatRef is not DogmeatRace. None

I have no idea what happened here.

Closed by  Arthmoor
May 06 2017 05:35 AM
Reason for closing:  Fixed
Additional comments about closing:  

Fixed for UFO4P 2.0.1.

Demodus commented on March 13 2017 12:20 AM

Maybe that has something to do with the dropped plan to have both Dogmeat and a humanoid companion at the same time? There's a mod that attempted to retrieve this functionality I'm sure you aware of, Everyone's Best Friend

Sclerocephalus commented on March 13 2017 02:58 AM

Certainly not. DogmeatRef is simply 'none' here, hence the race check fails.

Sclerocephalus commented on March 18 2017 01:25 PM

That's an error of the script that runs on DogmeatQuest.
As we can see from the declaration of the SetDogmeatCompanion() function on Followers script, the argument is none by default:

function SetDogmeatCompanion(Actor DogmeatRef = None)

Nonetheless, QF_DogmeatQuest_0006DFAF calls this function with no argument passed in on two occasions, in lines 71 and 79.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing