sp0ckrates Posted September 12, 2017 Share Posted September 12, 2017 (edited) Hi. I'm wondering if there is any script I can add to a miscellaneous item to make it play an animation, such as the poison cloak effect of the Ebony Mail. I tried this, and the message showed, but the animation didn't play on the miscellaneous item: Event OnLoad() Debug.Notification("Item loaded!") PlayAnimation("MyAnimation") EndEvent I tried this, but it appears to only work for aimed spells, not cloak spells. Event OnLoad() MyCloakSpell.Cast(Self,CurrentTarget) EndEvent Edited September 12, 2017 by sp0ckrates Link to comment Share on other sites More sharing options...
sp0ckrates Posted September 14, 2017 Author Share Posted September 14, 2017 Bump Link to comment Share on other sites More sharing options...
Levionte Posted September 14, 2017 Share Posted September 14, 2017 Play animation on what? You have to tell it. MyItem.PlayAnimation("MyAnimation")Same idea with the spell. You're referencing CurrentTarget, but I don't think MiscObjects can target things. Link to comment Share on other sites More sharing options...
sp0ckrates Posted September 15, 2017 Author Share Posted September 15, 2017 Play animation on what? You have to tell it. MyItem.PlayAnimation("MyAnimation")Same idea with the spell. You're referencing CurrentTarget, but I don't think MiscObjects can target things.I have the script added to the miscItem itself. But I'll try that. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts