| 07-21-2004, 01:42 AM | #1 |
With the "A Unit uses an item" event, how do i get the target of the item ability? EDIT: To be clear, I've tried "Targeted unit," "Target unit of ability being cast," and "Target unit of issued order." |
| 07-21-2004, 02:04 AM | #2 | |
Quote:
Maybe I could help you, but I don't know what you mean by the "Target of the item abiliity", do you mean like "Unit A use a item on Unit B", and you want to "Unit B to be affected by *something*?" |
| 07-21-2004, 02:15 AM | #3 | |
Quote:
You got it. For example, say you had a Healing Salve. I want a trigger function that pulls the target of the healing salve on its use, not the user. If the Orc Farseer uses a healing salve on the bloodied grunt, I want to return the bloodied grunt, not the Farseer. : ![]() |
| 07-21-2004, 02:20 AM | #4 |
There's no event response for the target of an item ability. HOWEVER, using an item ability still triggers off the "Unit ... casting a spell" events. So what you can do is build your trigger using the "Unit starts the effect of a spell" event. |
| 07-21-2004, 02:38 AM | #5 | |
Quote:
Perfect, thanks! |
| 07-21-2004, 02:47 AM | #6 | |
Quote:
That's what I thought at fiirst... but its good to know ;) |
