| 10-08-2005, 08:35 PM | #1 |
Like i said, i wanna know if its at all possible to detect when an ability is cast via an orb of slow type ability, cause as far as i know it aint, but it'd be really useful if it was ![]() |
| 10-08-2005, 11:10 PM | #2 |
IT is impossible, the best solution is to make the orb yourself ×_× |
| 10-09-2005, 03:49 PM | #3 |
I dont suppose u know a good way of detecting when a unit is actually hit instead of just attacked? |
| 10-09-2005, 05:13 PM | #4 |
You mean when the unit does not 'evade'? Trigger the evasion spell instead of using the default Warcraft III one. |
| 10-09-2005, 06:14 PM | #5 |
No i mean attacks, cause the Unit is attacked event doesnt take into acount missing of any kind (terrain or ability) and the unit can be order to attack, the trigger fires and then ordered to move before it ever attacked. So thats why... |
| 10-10-2005, 01:12 AM | #6 |
can you try this? (i haven't tried it yet, but i think it will work) make an orb ability with 100% chance to cast a certain ability. then make a trigger that randomizes an integer like 1 to 10 whenever the hero attacks. then check if that integer hits any number. then if it hits that number, add the orb ability to the attacking unit. display a text message. and after a few seconds, remove the ability. |
| 10-10-2005, 05:44 PM | #7 | |
Quote:
Just do a check to see if the unit has taken damage. If it was damaged, the attack was succesful and the trigger should procede, else end the trigger. |
| 10-14-2005, 07:15 PM | #8 | |
Quote:
That's if you use this: Code:
Events -Unit - Issued Order Targeting an Object Conditions -Or (Multiple Conditions) -Order = 'attack' -And (Multiple Conditions) -Order = 'smart' -Owner of (Target Unit of (Issued Order)) is an enemy of (Owner of (Ordered Unit) If you use the event Code:
Event -Unit - A Unit is attacked So if you click your guy, and right click on enemy guy, and your unit attacks 5 times, and then you move him away, the trigger should fire 5 times each time your guy swings, not just when you click. |
| 10-14-2005, 08:12 PM | #9 |
Even The closest way to detect attacks hit (and its damage) is not bullet proof, I would like to thank blizzard for this limitation |
