- Joined
- Aug 14, 2006
- Messages
- 7,603
Hey guys!
I have a little problem with deleting a special effect. I'm making a spell for my boss at my campaign. Trigger goes like this:
I have a little problem with deleting a special effect. I'm making a spell for my boss at my campaign. Trigger goes like this:
-
Actions
- Unit - Pause BOSS
- Unit - Make BOSS Invulnerable
- Special Effect - Create a special effect attached to the origin of BOSS using Abilities\Spells\Other\Charm\CharmTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect attached to the origin of BOSS using Abilities\Spells\Human\ManaShield\ManaShieldCaster.mdl
- Set Boss_SE_1 = (Last created special effect)
- Special Effect - Create a special effect attached to the origin of BOSS using Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
- Set Boss_SE_2 = (Last created special effect)
- Animation - Play BOSS's stand channel animation
- Wait 2.00 seconds
- Animation - Play BOSS's spell animation
- Set Real_Variable_1 = 0.00
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
- Set Real_Variable_1 = (Real_Variable_1 + 90.00)
- Special Effect - Create a special effect at ((Position of BOSS) offset by 200.00 towards Real_Variable_1 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Wait 0.23 seconds
- Set Real_Variable_1 = 0.00
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Set Real_Variable_1 = (Real_Variable_1 + 45.00)
- Special Effect - Create a special effect at ((Position of BOSS) offset by 350.00 towards Real_Variable_1 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Wait 0.23 seconds
- Set Real_Variable_1 = 0.00
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
- Set Real_Variable_1 = (Real_Variable_1 + 30.00)
- Special Effect - Create a special effect at ((Position of BOSS) offset by 500.00 towards Real_Variable_1 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Wait 0.23 seconds
-
Unit Group - Pick every unit in (Units within 600.00 of (Position of BOSS) matching ((((Matching unit) is in (Units owned by Player 1 (Red))) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Cause BOSS to damage (Picked unit), dealing 300.00 damage of attack type Spells and damage type Normal
-
Loop - Actions
- Wait 1.00 seconds
- Animation - Reset BOSS's animation
- Special Effect - Destroy Boss_SE_1
- Special Effect - Destroy Boss_SE_2
- Unit - Make BOSS Vulnerable
- Unit - Unpause BOSS