Issue Data
|
Issue #28243: DN092_IntercomTrig_Script: Unable to call IsPlaying/Start - no native object bound...
[12/15/2019 - 08:28:02PM] error: Unable to call IsPlaying - no native object bound to the script object, or object is of incorrect type
stack: [<nullptr form> (000212CD)].Scene.IsPlaying() - "<native>" Line ? [ (00055998)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] warning: Assigning None to a non-object variable named "::temp3" stack: [ (00055998)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] error: Unable to call Start - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212CD)].Scene.Start() - "<native>" Line ? [ (00055998)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 12 [12/15/2019 - 08:28:02PM] error: Unable to call IsPlaying - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D4)].Scene.IsPlaying() - "<native>" Line ? [ (0001FA31)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] warning: Assigning None to a non-object variable named "::temp3" stack: [ (0001FA31)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] error: Unable to call Start - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D4)].Scene.Start() - "<native>" Line ? [ (0001FA31)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 12 [12/15/2019 - 08:28:02PM] error: Unable to call IsPlaying - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D5)].Scene.IsPlaying() - "<native>" Line ? [ (0001FA36)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] warning: Assigning None to a non-object variable named "::temp3" stack: [ (0001FA36)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] error: Unable to call Start - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D5)].Scene.Start() - "<native>" Line ? [ (0001FA36)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 12 [12/15/2019 - 08:28:02PM] error: Unable to call IsPlaying - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D6)].Scene.IsPlaying() - "<native>" Line ? [ (0001FA37)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] warning: Assigning None to a non-object variable named "::temp3" stack: [ (0001FA37)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 9 [12/15/2019 - 08:28:02PM] error: Unable to call Start - no native object bound to the script object, or object is of incorrect type stack: [<nullptr form> (000212D6)].Scene.Start() - "<native>" Line ? [ (0001FA37)].dn092_intercomtrig_script.OnTriggerEnter() - "g:\_F4\Art\Raw\Scripts\DN092_IntercomTrig_Script.psc" Line 12 |
This is from the four triggers in the Museum of Freedom that start the audio scenes in the exhibition areas. The audio scenes are owned by DN092. Once that quest shuts down, they are no longer available (you can't start scenes on a quest that isn't running - trying it anyway will always result in an error).
Modified DN092_IntercomTrig_Script to check whether DN092 is running before doing anything else, and to disable the trigger if it's not. This required to add a new script property on the base object. I also made sure that the new property is properly carried over to the four trigger refs in the museum.
Modified DN092_IntercomTrig_Script to check whether DN092 is running before doing anything else, and to disable the trigger if it's not. This required to add a new script property on the base object. I also made sure that the new property is properly carried over to the four trigger refs in the museum.
Showing Comments 1 - 1 of 1