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

Split Shot--- How to?

Status
Not open for further replies.
Level 5
Joined
Jun 18, 2004
Messages
136
How do i make my hero or unit shoot out multiple arrows like is done in DotA allstars or in various LotRs maps? It shoots out 3/5/7 arrows, but will not shoot more than there are enemies. (kind of like a bouncing attack wont bounce 3 times if there are only 2 enemies) I think its done like bouncing attack is, but i dont know how to make it do separate arrows instead of one that bounces.
 
i get it...

Code:
Event-
Unit Attacks
condition-
Triggering unit has "SPLIT SHOT"
Level of SPLIT SHOT = 1
Actions-
Set Target1 = Random unit from Units within 250 (or so) of attacked unit

Set target2 = Random unit from Units within 250 (or so) of attacked unit matching Traget2 not equal to target1

Set target = Random unit from Units within 250 (or so) of attacked unit matching Traget3 not equal to target2

Create one *DUMMY ATTACKER* for oner  of triggering unit position of triggering unit

Set 2 sec experaion time to last created unit

Order last created unit to attack Target1

Create one *DUMMY ATTACKER* for oner  of triggering unit position of triggering unit

Set 2 sec experaion time to last created unit

Order last created unit to attack Target2

Create one *DUMMY ATTACKER* for oner  of triggering unit position of triggering unit

Set 2 sec experaion time to last created unit

Order last created unit to attack Target3


repeat for more attacks :o
 
theres a split shot spell in the spell section. it was meant for a competitio and it runs on GUI. try searching for it.
 
Leopard said:
Use Siege Engine's Barrage, it should solve the problem.
But Barrage deals a specific amount of damage doesn't it? Then the extra targets will won't get the same damage as the heroes' primary target. It is possible to calculate the damage from by the heroes atributes by checking the Gamplplay Costants but still it will not work with the extra damage from items an such. I suggest you use Vexoiran's Multiple Shot.
 
Barrage works

OMFG OMFG OMFG!!!! barrage does work, set the maximum damage to 0 so it will always deal the damage of your hero, and make it deal 0 extra damage, problem solved?!??! i think so.
 
Status
Not open for further replies.
Back
Top