HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Finding the target of mana burn?

08-26-2003, 06:09 PM#1
FyreDaug
How would I find the target of mana burn?

My event is "Unit - Generic Unit Event" <-> Unit Begins casting an ability

The ability is based off of mana burn and I need to find out what unit I just mana burned.
08-26-2003, 06:25 PM#2
cideh
Trigger1:

A unit is issued an order targeting an object:
Issued order equal to manaburn
Set Targetunit = Target unit of issued order

Trigger2:
A unit starts casting an ability
Ability being cast equal to manaburn
Do stuff here...

The target unit is in the variable Targetunit.
08-26-2003, 06:31 PM#3
FyreDaug
It's a custom mana burn though, would the order still be the same?

EDIT: wow forums buggy again, it put the whole message as the subject -_-.
08-26-2003, 06:34 PM#4
c0nnick
Yes, if you based the spell off of manaburn, then the order manaburn will work.

Wow Fyre... I thought u were uber skilled. guess not :ggani:
08-26-2003, 06:37 PM#5
FyreDaug
lol I am, I guess I wasn't thinking. Since I'm using SLK's and TXT files, I didn't know if the order stayed the same.