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: Quests
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Mar 12, 2017 12:46 am
Last Edited By Arthmoor on May 5, 2017 10:35 pm
Closed By Arthmoor on May 5, 2017 10:35 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #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
[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.



3 comment(s) [Closed]
Demodus said:
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, [[http://www.nexusmods.com/fallout4/mods/13459|Everyone's Best Friend]]

Comment #1 Mar 12, 2017 5:20 pm  Edited by on Mar 12, 2017 5:20 pm
Sclerocephalus said:
Certainly not. DogmeatRef is simply 'none' here, hence the race check fails.

Comment #2 Mar 12, 2017 7:58 pm  Edited by on Mar 12, 2017 7:58 pm
Sclerocephalus said:
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:

<code php>function SetDogmeatCompanion(Actor DogmeatRef = None)</code>

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

Comment #3 Mar 18, 2017 6:25 am  Edited by on Mar 18, 2017 6:25 am
Showing Comments 1 - 3 of 3