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

How do i make 2 types of attacks? I mean. Using them in the same time.

Status
Not open for further replies.
Level 2
Joined
Aug 8, 2018
Messages
12
Hello,

I have 2 types of attacks, but i want them to be used in the same time.
How do i make it?

Please help.

Thanks for answers.
 
Level 27
Joined
Apr 3, 2018
Messages
499
A simple way is the phoenix's ability that fires fireballs, but it's not really an attack.

A more complicated way, you can use a dummy (with locust ability) - an invisible, invincible, unselectable unit, to do the second attack.

Track the main unit's position and targets with a trigger, move the dummy to the main unit's position, and order it to attack the same unit (or not). You would also need to check if the main unit is moving or stunned and pause the dummy so it doesn't attack, and check for any attack-affecting buffs on the main unit and apply them to the dummy. Dummies can't be targeted but you can give them item abilities for +/- attack or attack speed.
 
Status
Not open for further replies.
Top