Unofficial Fallout 4 Patch

  • Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Papyrus
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Fallout 4: Vanilla
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Unofficial Fallout 4 Patch
Opened by Sclerocephalus - January 16 2017

FS#21890 - DN015LaserEmmitterScript - Cannot call play() on a None object

[07/12/2016 - 09:05:28PM] error: Cannot call play() on a None object, aborting function call
stack:

[ (0016D8B3)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8B3)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8B3)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

[07/12/2016 - 09:05:28PM] warning: Assigning None to a non-object variable named “::temp7” stack:

[ (0016D8B3)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8B3)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8B3)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

[07/12/2016 - 09:05:28PM] error: Cannot call play() on a None object, aborting function call
stack:

[ (0016D8B0)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8B0)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8B0)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

[07/12/2016 - 09:05:28PM] warning: Assigning None to a non-object variable named “::temp7” stack:

[ (0016D8B0)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8B0)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8B0)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

[07/12/2016 - 09:05:28PM] error: Cannot call play() on a None object, aborting function call
stack:

[ (0016D8AF)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8AF)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8AF)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

[07/12/2016 - 09:05:28PM] warning: Assigning None to a non-object variable named “::temp7” stack:

[ (0016D8AF)].DN015LaserEmmitterScript.Disarmed.OnBeginState() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 76
[ (0016D8AF)].DN015LaserEmmitterScript.GotoState() - "g:\_F4\Art\Raw\ScriptsMilestone\ScriptObject.psc" Line 42
[ (0016D8AF)].DN015LaserEmmitterScript.SetArmed() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015LaserEmmitterScript.psc" Line 86
[ (00092107)].DN015Fabricator.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015Fabricator.psc" Line 35

This is the OnBeginState event:

Event onBeginState(string previousState)
	isArmed = false
	PlayAnimation("Trip")
	ObjectReference ObjSelf = self as ObjectReference
	DisarmSound.Play(ObjSelf)
	setDestroyed()
	;Self.Disable()
endEvent

Interestingly, the animation plays. The error is always thrown when the sound should be played. Maybe it works with ‘DisarmSound.Play(self)’ (the cast should not be needed anyway).

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing