• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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