-
Posted by kjdalglish on Tue, 01 Dec 2009 15:11:53
Is there anyway to possibly play animations or game effects through and addon?
Like if i wanted to show the frost nova animation to the player is it possible?
Also, is there anyway to use skills/spells OUT OF COMBAT (i know you can't during combat).
-
Posted by jnwhiteh on Tue, 01 Dec 2009 15:51:59
Is there anyway to possibly play animations or game effects through and addon?
Like if i wanted to show the frost nova animation to the player is it possible?
Also, is there anyway to use skills/spells OUT OF COMBAT (i know you can't during combat).
You could make a movie if it's a movie file, and play it that way. The only way you can use skills or spells at any time is using the secure template system. Outside of combat you can semi-automate things by intelligently changing attributes, but you still must use secure templates or direct binding using SetBindingSpell() and friends.
-
Posted by kjdalglish on Tue, 01 Dec 2009 16:01:59
I thought the movie commands were protected? If not, example on use?
-
Posted by jnwhiteh on Tue, 01 Dec 2009 17:16:25
I meant model.
http://wowprogramming.com/docs/widgets/#model
-
Posted by kjdalglish on Tue, 01 Dec 2009 20:55:44
So. Say I wanted to show a model I don't care of what to the player? I would have to create a frame to hold my model and then set the model to that frame? Or am I way off? I'm kinda new to WoW addons. Been programming a while but the WoW api is new to me.
-
Posted by kjdalglish on Tue, 01 Dec 2009 20:56:16
-
Posted by jnwhiteh on Tue, 01 Dec 2009 21:31:33
You're getting into something that's incredibly advanced.. most people have never touched models.. simply because they're difficult. Very difficult. You wouldn't need a frame, just the model (which is a widget).
SexyMap may have something that's of interest, I know he does some cool things with the backgrounds that might be models.
-
Posted by kjdalglish on Wed, 02 Dec 2009 01:38:16
Don't you worry, I'll figure it out. I'm bound and determined. I'll post back when I do and give a snippet of how I made it work the way I wanted it to.
-
Posted by jnwhiteh on Wed, 02 Dec 2009 11:00:23
Great, I'd love to see it!