• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Slam to create a 6-2ay Impale

Status
Not open for further replies.
Make a dummy spell first, then make a dummy unit, each of which has locust and 0 collision, all that stuff:

  • Event
    • Unit - begins the effect of an ability
  • Conditions
    • Ability type is equal (dummy spell, like warstomp or roar)
  • Actions
    • Unit - Create (impale dummy)instantly to position of (triggering unit) offset by (50,86)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit) offset by (50,86))
    • Unit - Remove (Last Created Unit)
    • Unit - Create (impale dummy)instantly to position of (triggering unit) offset by (-50,86)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit) offset by (-50,86))
    • Unit - Remove (Last Created Unit)
    • Unit - Create (impale dummy)instantly to position of (triggering unit) offset by (-50,0)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit)offset by (-50,0))
    • Unit - Remove (Last Created Unit)
    • Unit - Create (impale dummy)instantly to position of (triggering unit) offset by (-50,-86)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit) offset by (-50,-86))
    • Unit - Remove (Last Created Unit)
    • Unit - Create (impale dummy) instantly to position of (triggering unit) offset by (50,-86)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit) offset by (50,-86))
    • Unit - Remove (Last Created Unit)
    • Unit - Create (impale dummy)instantly to position of (triggering unit) offset by (50,0)
    • Unit - Order (Last Created Unit) to (Undead Cryptlord - Impale) at (position of (Last Created Unit)offset by (50,0))
    • Unit - Remove (Last Created Unit)

For higher levels, just put an if statement concerning the level of the unit, and create impale dummy units with stronger spells. Or have it go only 4 ways at level 1, 6 at level 2, and 8 at level 3; you can calculate the offsets by using some simple circle geometry xD

Damn, i never knew that learning radians would come in handy, but it helps in dividing circles i guess. I have something like that in my map, except it's only 4 ways, so it's easier to figure out the numbers.
 
Status
Not open for further replies.
Back
Top