• 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!

Quick Question

Status
Not open for further replies.
Change the 'combat - Attack 1 - weapon type' in the object editor to Missile (Splash) or trigger it.
 
The easiest way is to change the weapon type of your tower to something that does splash damage.

This can be done by changing the "Weapon Type"-field on your tower to Missile (Splash), Artillery or Artillery (Line).
 
If your tower is going to upgrade its attack from 1 target to multiple targets, you can leave its combat settings untouched and use a Cleaving Attack ability.
  • Trigger
  • Events
    • Unit - A unit finishes an upgrade
  • Conditions
    • (Researched tech-type) Equal to Enhanced Force
  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Tower) and do (Actions)
      • Loop - Actions
        • Unit - Add Cleaving Attack to (Picked unit)
 
That wouldn't be the best method to add the ability though since it wouldn't add it for new towers...

You won't need a trigger if you use upgrades; it could be done all in the Object Editor. Just add the Cleaving Attack ability to your tower units and make sure Techtree - Requirements has the upgrade and that Techtree - Check Dependencies is set to true in the ability.
 
Status
Not open for further replies.
Back
Top