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

hey

Status
Not open for further replies.
Level 24
Joined
May 9, 2007
Messages
3,563
What do you mean no maps. . .?

I can make the spell and attach it.

Why so many smileys?

Wait one sec and you will have an attached omni-slash.

BTW have you searched the spell section?

I have uplooded the map. Also have posted triger. This took about 30s to make and certainly could be apporved apon (leaks) but this is the basic idea.
 
Last edited:
Level 22
Joined
Dec 31, 2006
Messages
2,216
hawk900, that trigger doesn't work properly.

  • OmniSlash
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Omni-Slash
    • Actions
      • For each (Integer A) from 1 to 3, do (Actions)
        • Loop - Actions
          • Unit Group - Add (Random unit from (Units within 500.00 of (Position of (Triggering unit)))) to UnitGroupOmniSlash
          • Unit - Move (Triggering unit) instantly to (Position of (Random unit from UnitGroupOmniSlash))
          • Unit - Order (Triggering unit) to Attack Once (Picked unit)
          • Wait 0.50 seconds
          • Unit Group - Remove (Picked unit) from UnitGroupOmniSlash

It should be like this:

  • OmniSlash
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Omni-Slash
    • Actions
      • Set Caster = (Triggering unit)
      • For each (Integer A) from 1 to 3, do (Actions)
        • Loop - Actions
          • Set Point = (Position of Caster)
          • Set UnitGroupOmniSlash = (Units within 500.00 of Point matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True)))
          • Set UnitGroupOmniSlash2 = (Random 1 units from UnitGroupOmniSlash)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of units in UnitGroupOmniSlash2) Equal to 0
            • Then - Actions
              • Custom script: call DestroyGroup(udg_UnitGroupOmniSlash)
              • Custom script: call DestroyGroup(udg_UnitGroupOmniSlash2)
              • Custom script: call RemoveLocation(udg_Point)
              • Skip remaining actions
            • Else - Actions
          • Unit Group - Pick every unit in UnitGroupOmniSlash2 and do (Actions)
            • Loop - Actions
              • Set Target = (Picked unit)
              • Set Point2 = (Position of Target)
              • Unit - Move Caster instantly to Point2
              • Unit - Make Caster face Target over 0.00 seconds
              • Unit - Order Caster to Attack Once Target
              • Custom script: call RemoveLocation(udg_Point2)
          • Custom script: call DestroyGroup(udg_UnitGroupOmniSlash)
          • Custom script: call DestroyGroup(udg_UnitGroupOmniSlash2)
          • Custom script: call RemoveLocation(udg_Point)
          • Wait 0.30 seconds
You should also base the Omni-Slash spell on Berserk or something that increases his attack speed so he will be able to attack before being moved to the next unit.
 
Status
Not open for further replies.
Top