Issue Data
|
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 |
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.
Added a sanity check.
Showing Comments 1 - 1 of 1