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