Issue Data
|
Issue #20624: SimpleElevatorMasterScript - cannot find variable named fSpeed, fValue
[06/11/2016 - 10:43:05PM] error: (000BBD6D): cannot find variable named fSpeed.
stack: [ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ? [ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "<unknown file>" Line ? [ (000BBF95)].simpleelevatormasterscript.OnTimer() - "<unknown file>" Line ? [06/11/2016 - 10:43:05PM] error: (000BBD6D): cannot find variable named fValue. stack: [ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ? [ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "<unknown file>" Line ? [ (000BBF95)].simpleelevatormasterscript.OnTimer() - "<unknown file>" Line ? [06/11/2016 - 10:43:05PM] error: (000BBD6D): is considered loaded, but does not have an animation graph manager. stack: [ (000BBD6D)].ObjectReference.PlayAnimation() - "<native>" Line ? [ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "<unknown file>" Line ? [ (000BBF95)].simpleelevatormasterscript.OnTimer() - "<unknown file>" Line ? [06/11/2016 - 10:43:06PM] error: (000BBD6D): cannot find variable named fSpeed. stack: [ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ? [ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "<unknown file>" Line ? [ (000BBF95)].simpleelevatormasterscript.OnTimer() - "<unknown file>" Line ? |
Related Issues: 23492
Tried it with "Speed" and "Value" instead of "fSpeed" and "fValue", but this didn't work here.
Turned out that this is just another 3D issue.
Lines 262-265:
<pre class="_prettyXprint _lang-">
MainPlatformHelper.waitfor3dLoad()
MainPlatformHelper.SetAnimationVariableFloat("fspeed", 0)
MainPlatformHelper.SetAnimationVariableFloat("fvalue", bStartAtTop as float)
MainPlatformHelper.PlayAnimation("Play01"
</pre>
Since there are obviously situations where MainPlatformHelper does not load, modify this to
<pre class="_prettyXprint _lang-">
;EDIT: transformed MainPlatformHelper.waitfor3dLoad() into a condition check, in case 3D doesn't load:
if MainPlatformHelper.waitfor3dLoad()
MainPlatformHelper.SetAnimationVariableFloat("fspeed", 0)
MainPlatformHelper.SetAnimationVariableFloat("fvalue", bStartAtTop as float)
MainPlatformHelper.PlayAnimation("Play01"
endif
</pre>
Lines 262-265:
<pre class="_prettyXprint _lang-">
MainPlatformHelper.waitfor3dLoad()
MainPlatformHelper.SetAnimationVariableFloat("fspeed", 0)
MainPlatformHelper.SetAnimationVariableFloat("fvalue", bStartAtTop as float)
MainPlatformHelper.PlayAnimation("Play01"
</pre>
Since there are obviously situations where MainPlatformHelper does not load, modify this to
<pre class="_prettyXprint _lang-">
;EDIT: transformed MainPlatformHelper.waitfor3dLoad() into a condition check, in case 3D doesn't load:
if MainPlatformHelper.waitfor3dLoad()
MainPlatformHelper.SetAnimationVariableFloat("fspeed", 0)
MainPlatformHelper.SetAnimationVariableFloat("fvalue", bStartAtTop as float)
MainPlatformHelper.PlayAnimation("Play01"
endif
</pre>
Reopened this, since the fix doesn't work properly. This is from Issue #23492 (closed as a duplicate):
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fSpeed.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 274
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fValue.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 275
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): is considered loaded, but does not have an animation graph manager.
stack:
[ (000BBD6D)].ObjectReference.PlayAnimation() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 276
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fSpeed.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 325
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fSpeed.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 274
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fValue.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 275
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): is considered loaded, but does not have an animation graph manager.
stack:
[ (000BBD6D)].ObjectReference.PlayAnimation() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 276
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
[01/14/2018 - 11:56:06PM] error: (000BBD6D): cannot find variable named fSpeed.
stack:
[ (000BBD6D)].ObjectReference.SetAnimationVariableFloat() - "<native>" Line ?
[ (000BBF95)].simpleelevatormasterscript.SimpleElevatorSetupFunction() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 325
[ (000BBF95)].simpleelevatormasterscript.OnTimer() - "C:\Users\Samson\AppData\Local\Temp\PapyrusTemp\SimpleElevatorMasterScript.psc" Line 88
Comment #4 May 6, 2018 1:21 am
Edited by BlackPete on May 28, 2018 11:42 pm
Turned out that the initial fix (for UFO4P 1.0.3 worked on all elevators except for 000BBF95. That one continues to spill errors, suggesting that this is a pleced ref issue (elevator parts wrongly linked together or something similar).
Stil needs more investigation though.
Stil needs more investigation though.
Comment #5 Aug 16, 2019 4:52 pm
Edited by Sclerocephalus on Aug 16, 2019 4:53 pm
Showing Comments 1 - 5 of 5