- Joined
- Feb 21, 2008
- Messages
- 205
-
Golem spell
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Elemental Rift
-
Actions
- Set Blink_targetunit[30] = (Target unit of ability being cast)
- Set Blinking_unit[30] = (Triggering unit)
- Special Effect - Create a special effect attached to the chest of Blinking_unit[30] using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
- Countdown Timer - Start Countdown_timer[30] as a One-shot timer that will expire in 0.15 seconds
- Wait (Remaining time for Countdown_timer[30]) seconds
- Set Blink_strike_point[30] = (Position of (Triggering unit))
- Set Blink_strike_target[30] = ((Target point of ability being cast) offset by (0.00, 50.00))
- Unit - Pause Blinking_unit[30]
- Unit - Move Blinking_unit[30] instantly to Blink_strike_target[30], facing 180.00 degrees
- Animation - Play Blinking_unit[30]'s attack animation
- Countdown Timer - Start Countdown_timer2[30] as a One-shot timer that will expire in 0.50 seconds
- Wait (Remaining time for Countdown_timer2[30]) seconds
- Unit - Cause Blinking_unit[30] to damage Blink_targetunit[30], dealing 100.00 damage of attack type Spells and damage type Normal
- Unit - Move Blinking_unit[30] instantly to Blink_strike_point[30]
- Unit - Unpause Blinking_unit[30]
- Countdown Timer - Start Countdown_timer3[30] as a One-shot timer that will expire in 0.50 seconds
- Wait (Remaining time for Countdown_timer3[30]) seconds
- Special Effect - Destroy (Last created special effect)
-
Events
A unit moves from his position, instantly to behind the target enemy unit, plays the attack animation, then deals 100 damage to the enemy, to then blink back. It works superb, But... it doesn't work at all when I have several units cast this spell, and I have no idea how to make it work with several instances. I believe ( I know ) the waits in this trigger is the problem. Since those wont work when I have to run this trigger several times at the same time. So what shall I do? Tried to search around, but couldn't find what I was looking for. (Ignore the waits /countdown timers, I found out that those were completely wrong to use).
Help!