• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Dummy cast a spell?

Status
Not open for further replies.
Moin moin =)

Hope this can help ya:

JASS:
local unit u = TheDummy
local real f = GetUnitFacing(u)
local real x = GetUnitX(u) + 5 * Cos(f * BJ_DEGTORAD)
local real y = GetUnitY(u) + 5 * Sin(f * BJ_DEGTORAD)

call IssueTargetOrder(u,"impale",x,y)

set u = null

Now you can add or subtract from the real f to change the direction.

Greetings and Peace
Dr. Boom
 
Set Location = XX
Orded Dummy to cast Crypt Lord - Impale to Location

That's it x)


I made a test map for you. It's a "Super Impale". When you cast normal impale, it will create dummy
units to cast impale to 10 different ways.

Just ask if you dont understand something.
 

Attachments

Status
Not open for further replies.
Back
Top