I've been messing with this for awhile aswell as my other post I just made. I've got my spell damage range and everything else working. However the zergling has no motion when it attacks with the spell.
Okay, this is a little tricky. Go into the Zergling's actor.
Click on "Events+" in the fields. Now, you'll see a complex window of stuff. Do not panic. Right-click, and select "Add Event" In the selection bars to the right, choose under "msg" = "Ability." "Source Name" = "Name of your ability," and "SubName" = "TargetCastStart"
Now, you'll see a little film icon below the flag. Click on it, and make the msg type = "Animation Play." Then edit the Name to be "Attack" and the Animation Properties to "Attack."
Now test your map. Your zergling should use the "Attack" animation when casting a spell. This is how I made my custom Hydra Hero have an animation when casting Psi Storm. Hope this helps! :)
Yea I can get him to animate when using psi storm. However the ability I'm trying to make is a melee attack "spell" since i turned off attack for all units.
Click on "Events+" in the fields. Now, you'll see a complex window of stuff. Do not panic. Right-click, and select "Add Event" In the selection bars to the right, choose under "msg" = "Ability." "Source Name" = "Name of your ability," and "SubName" = "TargetCastStart"
I tried this with a spell that has a cast start of 1.500 and the animation comes after that time frame. Since I am using "Cast start" as a cast time mechanic I need a way of having the casting animation (lets say attack: for the sake of the thread) during this 1.500 cast start time frame.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've been messing with this for awhile aswell as my other post I just made. I've got my spell damage range and everything else working. However the zergling has no motion when it attacks with the spell.
Okay, this is a little tricky. Go into the Zergling's actor.
Click on "Events+" in the fields. Now, you'll see a complex window of stuff. Do not panic. Right-click, and select "Add Event" In the selection bars to the right, choose under "msg" = "Ability." "Source Name" = "Name of your ability," and "SubName" = "TargetCastStart"
Now, you'll see a little film icon below the flag. Click on it, and make the msg type = "Animation Play." Then edit the Name to be "Attack" and the Animation Properties to "Attack."
Now test your map. Your zergling should use the "Attack" animation when casting a spell. This is how I made my custom Hydra Hero have an animation when casting Psi Storm. Hope this helps! :)
Yea I can get him to animate when using psi storm. However the ability I'm trying to make is a melee attack "spell" since i turned off attack for all units.
Hum. I'm sorry, I forgot you had another thread. I'm not quite certain about that one. :(
Your reply helped me alot anyway, thanks :)
I tried this with a spell that has a cast start of 1.500 and the animation comes after that time frame. Since I am using "Cast start" as a cast time mechanic I need a way of having the casting animation (lets say attack: for the sake of the thread) during this 1.500 cast start time frame.