Issue Data
|
Issue #20604: hc_managerscript - Cannot call Dispel() on a None object
[06/06/2016 - 10:11:46AM] error: Cannot call Dispel() on a None object, aborting function call
stack: [HC_Manager (0000080E)].hardcore:hc_managerscript.OnTimerGameTime() - "<unknown file>" Line ? The error is on HC_CaffeinatedEffectScript which currently sends a script instance to hc_managerscript. The function that receives the call on that script expects an active magic effect though. Solution: Amend HC_CaffeinatedEffectScript as follows: <pre class="_prettyXprint _lang-"> Scriptname Hardcore:HC_CaffeinatedEffectScript extends activemagiceffect Hardcore:HC_ManagerScript Property HC_Manager const auto {autofill} Event OnEffectStart(Actor akTarget, Actor akCaster) ;EDIT: Missing cast added: HC_Manager.CaffeinatedEffectToggle(self As ActiveMagicEffect) EndEvent </pre> |
FYI, since this is coming up regularly, I asked about it. SMKViper responded: <a data-ipb='nomediaparse' href='https://community.bethesda.net/message/132608#132608'>https://community.bethesda.net/message/132608#132608</a>
The kind of casting you're doing doesn't seem like it's necessary at all and hasn't changed since Skyrim.
The call to null that property is made in more than one place though. Did you happen to sleep before the update timer expired? Maybe that's the real issue?
The kind of casting you're doing doesn't seem like it's necessary at all and hasn't changed since Skyrim.
The call to null that property is made in more than one place though. Did you happen to sleep before the update timer expired? Maybe that's the real issue?
Thanks for the update.
Will have another look at it.
Will have another look at it.
Showing Comments 1 - 3 of 3