Simple quest about Kaboom

mute

New Member
Reaction score
2
Hello ,
i do spawn for some Goblin in X point , and i want to let them use Kaboom spell for the closer hero .

idk how to do that , about use Kaboom spell for closer enemy heroes , and ofc auto use .
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
If you want to pick the closest hero, you will have to use a trigger to do that. There may be some triggers in the Tutorials and Resources section that will pick the closest unit or so that you can use to do that. Then once you have the right unit, it will be a simple matter of ordering your goblin to use the Kaboom ability on the unit.
 

mute

New Member
Reaction score
2
how to give him order for use kaboom ability for closer hero from him .
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
i'd say the easiest way would be to just create the goblin and let him auto-attack an enemy.
by default the wc3 standard unit ai will order your goblin to attack the closest enemy in range.

you will then only need to issue the order to use kaboom once a goblin attacks a unit.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top