HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with this trigger

09-27-2003, 03:04 AM#1
Omega_Destroyer
Event:
Unit - A unit begins casting an ability

Conditions:
(Ability being cast) Equal to The Black Arrow

Action:
Unit - Set life of Targeted Unit to 1.00
Unit - Make Targeted Unit Invulnerable
Unit - Set (Targeted Unit) movement speed to 0.00
Unit - Pause (Targeted Unit)
Wait 15.00 Seconds
Unit - Make (Targeted Unit) Vulnerable
Unit - Unpause Targeted Unit



why wont this trigger enable this attack?
09-27-2003, 03:07 AM#2
Saethori
I think you need to use 'Unit is given an order targeting a unit' or something to that extent.

'Casts a spell' will only work for the caster.. it doesn't tell the trigger who it's targeting.
09-27-2003, 08:04 AM#3
UltimateJim
Quote:
Originally posted by Omega_Destroyer
Event:
Unit - A unit begins casting an ability

Conditions:
(Ability being cast) Equal to The Black Arrow

Action:
Unit - Set life of Targeted Unit to 1.00
Unit - Make Targeted Unit Invulnerable
Unit - Set (Targeted Unit) movement speed to 0.00
Unit - Pause (Targeted Unit)
Wait 15.00 Seconds
Unit - Make (Targeted Unit) Vulnerable
Unit - Unpause Targeted Unit



Change the (Targeted Unit) to atacked unit maybe
09-27-2003, 08:32 AM#4
Saethori
Final note: If you use 'is issued an order targeting a unit', you may need to use additional triggers.. seeing as how you don't want to do this effect across the map (being given an order is nowhere alike to executing it)

You can try using variables to mark the caster and the target, and the next time the target takes damage from the caster and the variables match then issue the effect.


Another example, base the 'Black Arrow' spell on Storm Bolt, but tell it to do only 1 damage. Then use 'unit takes damage' (if there is such a thing), and conditions say damage taken = 1.. this should work unless another ability triggers on 1 damage.


Finally.. why do you need to reduce a movement speed of the unit if you're pausing it? ..and, if I misunderstand pausing and you need to do that.. shouldn't you also return it to 100%?


..Okay, *this* is finally... you should clear all buffs from the unit, positive or negative before you drop its HP to 1. It may be a bit of a destructive event if the Black Arrow is comboed with any sort of poison.
09-27-2003, 12:12 PM#5
35263526
id also change it's animation speed to 0.00 so that it really appears frozen.

Oh and, even if you change the event, the trigger won't work. using Wait action erases all memory of 'Casting Unit' or 'Targeted Unit'. Its a game bug. There is a workaround, but it's really complicated.