| 08-15-2003, 10:13 AM | #1 |
Say I wish to create a special effect that shows the starfall-target effect on a enemy which is targeted by a hero using a custom spell. What's the targeted enemy in this situation called? "Special Effect - Create a special effect attached to the origin of (?????) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdx"" Using (targeted unit) didn't work coz it's for an 'acquire unit' event; (triggering unit) refers to the hero casting it. So my question is, what's that targeted unit called? Or should I write this trigger in a completely different way? :( |
| 08-15-2003, 10:20 AM | #2 |
unfortunately I don't believe you can find the targeted unit of a spell. You'd have to find some way of doing it with the "Unit orders action, targetting a unit" thingy event. I really am not sure of how to do this properly I'm afraid. |
| 08-15-2003, 10:27 AM | #3 |
Thanks for the reply, but I don't really get what you mean. Still need help guys =/ |
| 08-15-2003, 04:42 PM | #4 |
anyone kinds souls ? =/ |
| 08-16-2003, 03:24 AM | #5 |
If someone know, please tell :( Been trying to figure it out for a day |
| 08-16-2003, 03:29 AM | #6 |
This has been asked before, and answered. I'll answer it again though You can't use get target with the begins/finishes casting a spell events. To work around this you need to catch the order event (unit issued order, issued order = spell's order string) and store the target of the order in a variable, then you refer to that variable. |
