| 10-10-2003, 02:41 AM | #1 |
This trigger doesn't work. It doesn't seem to do anything. What's wrong with it? Event: Unit - A unit Is issued an order targeting a point Conditions: (Issued order) Equal to (Order(stasistrap)) (Unit-type of (Ordered unit)) Equal to Ward Wizard Actions: Set DeathWardTarget = (Target point of issued order) Set DeathWardCounter = 0 Trigger - Turn on Death Ward Action <gen> Death Ward Action (initially off): [ Event: Time - Every 1.00 seconds of game time Conditions: Actions: Unit Group - Pick every unit in (Units within 1000.00 of DeathWardTarget matching ((((Picked unit) belongs to an enemy of Player 5 (Yellow)) Equal to True) and (((Picked unit) is alive) Equal to True))) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 1.00)) If (DeathWardCounter Greater than 0) then do (Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\DeathandDecay\DeathandDecayDamage.mdl) else do (Do nothing) Set DeathWardCounter = (DeathWardCounter + 1) If (DeathWardCounter Equal to 30) then do (Trigger - Turn off (This trigger)) else do (Do nothing) ] |
| 10-10-2003, 03:38 AM | #2 |
when you say it doesnt work, which part(s) of the triggeres do u mean? |
| 10-10-2003, 03:48 AM | #3 |
Did you change the order string on the custom spell, or is it the original? |
| 10-10-2003, 04:15 AM | #4 |
The order string is default and as for what isn't working I dont know at what point it is failing. All I know is that it doesn't attack an effect and it doesn't reduce their hp by 1 per second. |
| 10-10-2003, 05:14 AM | #5 |
Unit Group - Pick every unit in (Units within 1000.00 of DeathWardTarget matching ((((Matching unit ) belongs to an enemy of Player 5 (Yellow)) Equal to True) and (((Matching unit ) is alive) Equal to True))) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 1.00)) |
| 10-10-2003, 05:57 PM | #6 |
Thanks man that fixed it. |
