I have a hero that's based off of the marine unit, created an ability that will slow down the target unit, similar to the marauder's concussion grenades.
My problem is, I can get the marine to do its attack animation when the ability is triggered, but nothing comes out of the marine's gun. He aims it, fires it, but there's no sparkly effect when he actually fires the weapon.
The ability has a buff behavior as I don't want it to do any damage with an effect type of apply behavior.
You need to choose an actor to function as the missile and set up its actor events. Search in units for "weapon" and look at their actor events to see how it's hooked up.
I tried replicating the Plasma Gun missile launch effect and actor but having issues applying it to my ability because it's not an attack effect but rather just an apply behavior.
Basically here is what I have and hopefully someone can give me an explanation on how to add the plasma gun missile animation to it - I would greatly appreciate it.
I have an ability called Concussive Shot of type Effect - Target. It has three levels to it so I created three effects of type Apply Behavior and named them Concussive Shot Level 1, 2, 3. For each Concussive Shot, I apply the respective behavior Concussive Shot Level to it. The behavior is a type Buff that just changes the movement speed of the target.
Now I want to add the missile animation that the plasma gun does. I'm just a little confused on how and what to copy from the plasma gun to attach it to my ability.
Hi all,
I have a hero that's based off of the marine unit, created an ability that will slow down the target unit, similar to the marauder's concussion grenades.
My problem is, I can get the marine to do its attack animation when the ability is triggered, but nothing comes out of the marine's gun. He aims it, fires it, but there's no sparkly effect when he actually fires the weapon.
The ability has a buff behavior as I don't want it to do any damage with an effect type of apply behavior.
I added in the unit's main actor's events:
Abil.ConcussiveShot.SourcePrepStart
AnimPlay Attack Attack
Can anyone help? Thanks in advance.
@GrimmySnarf: Go
You need to choose an actor to function as the missile and set up its actor events. Search in units for "weapon" and look at their actor events to see how it's hooked up.
@Chiquihuite: Go
I tried replicating the Plasma Gun missile launch effect and actor but having issues applying it to my ability because it's not an attack effect but rather just an apply behavior.
Basically here is what I have and hopefully someone can give me an explanation on how to add the plasma gun missile animation to it - I would greatly appreciate it.
I have an ability called Concussive Shot of type Effect - Target. It has three levels to it so I created three effects of type Apply Behavior and named them Concussive Shot Level 1, 2, 3. For each Concussive Shot, I apply the respective behavior Concussive Shot Level to it. The behavior is a type Buff that just changes the movement speed of the target.
Now I want to add the missile animation that the plasma gun does. I'm just a little confused on how and what to copy from the plasma gun to attach it to my ability.
Thanks!
You need an Action actor to determine the launch model.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg