im making a spell which it creates 3 flames infront and the flames explode...um... heres the trigger!
Trigger:
- HMEfonw
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Land Mines?! (Neutral Hostile)
- Actions
- Set castingunit = (Casting unit)
- Set pointofabilty = (Target point of ability being cast)
- Unit - Create 1 Flame Dummy for (Owner of castingunit) at (pointofabilty offset by 0.00 towards (Facing of castingunit) degrees) facing (Facing of castingunit) degrees
- Set dummy1 = (Last created unit)
- Wait 0.40 seconds
- Unit - Create 1 Flame Dummy for (Owner of castingunit) at (pointofabilty offset by 150.00 towards (Facing of castingunit) degrees) facing (Facing of castingunit) degrees
- Set dummy2 = (Last created unit)
- Wait 0.40 seconds
- Unit - Create 1 Flame Dummy for (Owner of castingunit) at (pointofabilty offset by 300.00 towards (Facing of castingunit) degrees) facing (Facing of castingunit) degrees
- Set dummy3 = (Last created unit)
- Wait 2.00 seconds
- Special Effect - Create a special effect at (Position of dummy1) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Unit - Cause dummy1 to damage circular area after 0.00 seconds of radius 350.00 at (Position of dummy1), dealing 500.00 damage of attack type Spells and damage type Normal
- Unit - Remove dummy1 from the game
- Special Effect - Create a special effect at (Position of dummy2) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Unit - Cause dummy2 to damage circular area after 0.00 seconds of radius 350.00 at (Position of dummy1), dealing 500.00 damage of attack type Spells and damage type Normal
- Unit - Remove dummy2 from the game
- Special Effect - Create a special effect at (Position of dummy3) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Unit - Cause dummy3 to damage circular area after 0.00 seconds of radius 350.00 at (Position of dummy1), dealing 500.00 damage of attack type Spells and damage type Normal
- Unit - Remove dummy3 from the game
- Events