Okey, so I want a unit to attack the ground/unit through an ability... Just with a normal missile like the MarauderMissile.m3 It should not cost anything with just a cool-down on 5sec. Thanks for advice =)
Edit: ohh, and it should have splash damage.
duplicate the marauder's "weapon" object and all components. Then make a new button and a new ability type effect - target. Make the ability call the "launch missile" type effect that you duplicated from the weapon. enter the ability - commands+ field and click on the execute line at the top, now scroll down and find default - button field, and set it to the button you just made.
In the unit that uses the ability find ability field and add this ability. then find the command card and add this ability to it.
for splash damage find the "damage" type effect in the chain and add a 'search area" to it with desired radius for splash and desired dmg dealt fraction. Dont forget to add filters to the search area so it doesnt dmg friendly/neutral/dead/missile/invulnerable/hidden/ etc
in the ability object enter the cost+ field and under "cooldown" find "time - use" and set it to 5.0. "time - start" will prevent you from using the ability for specified time at unit creation.
Okey, so I want a unit to attack the ground/unit through an ability... Just with a normal missile like the MarauderMissile.m3 It should not cost anything with just a cool-down on 5sec. Thanks for advice =)
Edit: ohh, and it should have splash damage.
Bump =)
duplicate the marauder's "weapon" object and all components. Then make a new button and a new ability type effect - target. Make the ability call the "launch missile" type effect that you duplicated from the weapon. enter the ability - commands+ field and click on the execute line at the top, now scroll down and find default - button field, and set it to the button you just made.
In the unit that uses the ability find ability field and add this ability. then find the command card and add this ability to it.
for splash damage find the "damage" type effect in the chain and add a 'search area" to it with desired radius for splash and desired dmg dealt fraction. Dont forget to add filters to the search area so it doesnt dmg friendly/neutral/dead/missile/invulnerable/hidden/ etc
in the ability object enter the cost+ field and under "cooldown" find "time - use" and set it to 5.0. "time - start" will prevent you from using the ability for specified time at unit creation.