Issue Data
|
Issue #25840: CompanionCrimeFactionHostilityScript: Cannot call IsPlayerEnemy() on a None object
01/20/2019 - 01:19:33AM] error: Cannot call IsPlayerEnemy() on a None object, aborting function call
stack: [ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 32 [ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20 [01/20/2019 - 01:19:33AM] warning: Assigning None to a non-object variable named "::temp13" stack: [ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 32 [ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20 [01/20/2019 - 01:25:17AM] error: Cannot call IsFactionInCrimeGroup() on a None object, aborting function call stack: [ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 54 [ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20 [01/20/2019 - 01:25:17AM] warning: Assigning None to a non-object variable named "::temp29" stack: [ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 54 [ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20 Note: These errors spam your papyrus log like crazy if you decide to spare Danse's life and have him as a follower after that. Obviously, you're an enemy to the BoS when he's a companion since he got banished. The errors appear to have something to do with that if I had to guess. |
During Blind Betrayal, he is removed from all factions. From this point on, the GetCrimeFaction() call on this script returns 'none' and there are no sanity checks to handle a 'none' faction. Since this code runs repeatedly on a timer event, there will be much log spam resulting.
Showing Comments 1 - 1 of 1