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

I need an ability

Status
Not open for further replies.
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
 
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.
Back
Top