• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom Attack

Status
Not open for further replies.
If you want it to launch when player left-clicks somewhere, then create a trigger that checks left clicks and launch an effect when it happens.

Before you launch the missile, check wall collision for the entire path and end the missile movement there (I assume walls don't move, so checking them at any time would give same result).
Then, just add buff to the missile unit, that periodically checks whether a unit is around and if it is, then it damages the unit and destroys itself.
 
If you want it to launch when player left-clicks somewhere, then create a trigger that checks left clicks and launch an effect when it happens.

Before you launch the missile, check wall collision for the entire path and end the missile movement there (I assume walls don't move, so checking them at any time would give same result).
Then, just add buff to the missile unit, that periodically checks whether a unit is around and if it is, then it damages the unit and destroys itself.

I have absolutely no idea how to do that(The launch effect) I can add the validators and buffs to the missile, but how do I order the unit to launch the missile and not auto attack?
 
Thanks allot, will try it now

Edit

@Mort

I tried working with the validators and buffs, but I cant figure it out. If possible, could you please explain to me how to add the validators and buffs to the effect, if its not to much trouble to ask for, or just direct me to a tutorial.

Thanks in advance

Xiliger
 
Last edited:
Status
Not open for further replies.
Back
Top