• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

I need an ability

Status
Not open for further replies.
Level 9
Joined
Aug 7, 2009
Messages
380
So, just create a dummy with Barrage and order it attack random unit in range, if a unit attack this dummy, order it to attack the hero.
Edit: I really thought that Phoenix Fire have an Projectile. But about maximum of target... nope :D
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
Mckill
that's not what i want
I need a passive ability like in btank or bship.

dude, make conditions to make it passive such as...

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Random integer number between 1 and 100) Less than 30
    • Then - Actions
      • blahhhhh, blahhhh
    • Else - Actions
 
Level 4
Joined
Mar 24, 2008
Messages
87
I think not.
Do you want an ability that hit X units by ways of attack ?
If it is that what you want you should make a trigger like this :
  • Missiles
    • Events
      • Temps - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Dummy unit for Player at (Position of (UNIT)) facing 0 degrees
      • Unit - Order (Last created unit) to Attaquer (Random unit from (Units within 500.00 of (Position of (UNIT)) matching (((Owner of (Matching unit)) is an enemy of (Owner of (UNIT) Equal to TRUE)))
UNIT is your unit which attack while moving.
Dummy unit is an unit with barrage.
If you want you can add an animation like "attack" to your UNIT.
Add the fact that UNIT has a dummy passiv spell (and add it as condition)
And creat a trigger to remove the Dummy unit after his attack.
(Of course you have to make some variables to avoid leaks, and if you want that more players have this spell)

Hope it was what you want :)
 
Status
Not open for further replies.
Top