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!
I want to trigger a spell that when clicked, creates sorta dummy that casts impale in 6 ways. The problem is... how to make the dummy cast the spell in 6 ways at once?
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.
The problem is all unit's casting time, Vestrideus. They don't even cast a spell, they're removed before they do.
Unit - Add generic expiration; will fix it. Also, do you know how much that spell leaks?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.