Issue Data
|
|
||||||||||||||||||||||||||||||
Also for RefIDs 000D16B3 and 0008B900 (the same as the OP) (USKP#37.53).
Related [[http://afktrack.afkmods.com/index.php?do=details&task_id=12091|Bug #12091]] and [[http://afktrack.afkmods.com/index.php?do=details&task_id=13871|Bug #13871]] (duplicate) about the same script.
Same errors on RefIDs: 000D16B3, 000B0F4A, 0004D94, 00060FA7 and 000AE4DC.
And also: 00044F73, 00044F74.
Additionally: 000E5FC6 and 0008B900.
Additionally: 000E5FC6 and 0008B900.
Another error posted by Elgar:
<code>[10/13/2015 - 08:44:21AM] Error: (000AE4DC): has no 3d, and so cannot have its motion type changed.
stack:
[ (000AE4DC)].MaceTrap.SetMotionType() - "<native>" Line ?
[ (000AE4DC)].MaceTrap.OnCellDetach() - "MaceTrap.psc" Line 45</code>
<code>[10/13/2015 - 08:44:21AM] Error: (000AE4DC): has no 3d, and so cannot have its motion type changed.
stack:
[ (000AE4DC)].MaceTrap.SetMotionType() - "<native>" Line ?
[ (000AE4DC)].MaceTrap.OnCellDetach() - "MaceTrap.psc" Line 45</code>
What an incredibly ingenious idea to change the motion type on cell detach ...
This command runs on self, and if self has lost 3D on cell detach, this is because self may have unloaded already - not entirely unexpectedly, since there's a fairly good chance for this to happen after the cell has detached.
Thus, if 3D has been lost here, there's no point in waiting for it to reload, and a simple check for Is3DLoaded should be sufficient.
Amend line 44 as follows:
if doOnce == 0 && Is3DLoaded()
This command runs on self, and if self has lost 3D on cell detach, this is because self may have unloaded already - not entirely unexpectedly, since there's a fairly good chance for this to happen after the cell has detached.
Thus, if 3D has been lost here, there's no point in waiting for it to reload, and a simple check for Is3DLoaded should be sufficient.
Amend line 44 as follows:
if doOnce == 0 && Is3DLoaded()
Showing Comments 1 - 7 of 7

Issue Data