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