| 07-10-2007, 10:25 PM | #1 |
I'm using an item as a one-use ability for a very powerful spell, I can cast it and everything, but it won't get detected. I'm using GUI on UMSWE so is there any function to select the targeted unit, if not, a custom script line? |
| 07-10-2007, 10:30 PM | #2 |
Use for the event "Unit starts the effects of an ability" and for the target use "Target unit of ability being cast." For the condition, have it "Ability being cast is equal to <name of my ability that I gave to the item>" Basically -- |
| 07-10-2007, 10:48 PM | #3 |
Trigger: I did something wrong... just I don't know what... it's trivially not damaging the target... and yes, I also checked the item is using the ability ITEM Deadly Bolt |
| 07-10-2007, 10:53 PM | #4 |
Target Unit of ability being cast loses its reference after a wait. Store the unit to a variable. |
| 07-10-2007, 11:06 PM | #5 |
There were two mild errors in what I was scripting, and the variable fixed the second one, I found the first one though. NO REP FOR YOU, no I'm not an ass, +Rep |
