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

Multishot

Status
Not open for further replies.

ndh

ndh

Level 8
Joined
Apr 21, 2012
Messages
344
Hey hive peoples,

Here is what i'm attempting to do...

When a tower has 1 archer inside it, the tower fires one arrow

When a tower has 2 archers inside it, the tower fires two arrows

When a tower has 3 archers inside it, the tower fires three arrows

All up to 5 archers a tower, for 5 arrows total.

Think it's possible with triggering and stuff?
 
Level 11
Joined
Aug 11, 2009
Messages
605
I think using barrage as a dummy ability Will do the trick. Simply changing level with how many archers there are inside. Only issue is that barrage has static damage but if the towers damage remains the same there is no issue.
 
Level 11
Joined
Aug 11, 2009
Messages
605
Use the event "à unit is loaded" and make condition that loading unit is of the type of the tower. Then make an action which increases an integer by 1. If the integer was 0 then give the tower the barrage ability, else just set the level of barrage to the integers value.

However i am unsure of the unload part as the unload removes all units in the tower but you can also simply click one unit out at à time.

Ill see if i can get it together :)
 
  • Like
Reactions: ndh
Level 2
Joined
Jun 22, 2012
Messages
19
I don't think having separate archers firing separate arrows would work (at least without JASS, but I don't know JASS and consequently don't know if you could work around this). The problem is that loading and unloading can't be detected if you don't use the abilities manually (you can right-click to load and left-click on a unit in the cargo hold to unload). So, it might be better to go with the barrage idea, which is easier to do.
 
Status
Not open for further replies.
Top