Moon_Raven
New Member
- Reaction score
- 8
Hello, the spell should do the following:
The caster targets an enemy unit, then a sheep spawns at the caster and starts running towards the enemy unit and when in 150 range the sheep explodes dealing damage to the target unit and half damage to nearby units. Now I thought of making a trigger like this:
And another trigger wich fires when a unit comes in range of Explosive_Sheep and condition Triggering unit equal to Explosive_Sheep_Target, but that doesn't seem to be possible, I just don't understand why. So how to make it?
The caster targets an enemy unit, then a sheep spawns at the caster and starts running towards the enemy unit and when in 150 range the sheep explodes dealing damage to the target unit and half damage to nearby units. Now I thought of making a trigger like this:
Trigger:
- Explosive Sheep
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Explosive Sheep
- Actions
- Unit - Create 1 Explosive Sheep for Player 1 (Red) at (Position of (Triggering unit)) facing (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) degrees
- Unit - Order (Last created unit) to Right-Click (Target unit of ability being cast)
- Set Explosive_Sheep = (Last created unit)
- Set Explosive_Sheep_Target = (Target unit of ability being cast)
- Events
And another trigger wich fires when a unit comes in range of Explosive_Sheep and condition Triggering unit equal to Explosive_Sheep_Target, but that doesn't seem to be possible, I just don't understand why. So how to make it?