The newbie
New Member
- Reaction score
- 0
Trigger:
- Explode
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Selfdestruct (Goblin Blaster)
- Actions
- Set SelfdestructUnit = (Casting unit)
- Set TempPoint = (Position of SelfdestructUnit)
- Unit Group - Pick every unit in (Units within 800.00 of TempPoint) and do (Actions)
- Loop - Actions
- Unit - Cause SelfdestructUnit to damage (Picked unit), dealing (Life of SelfdestructUnit) damage of attack type Spells and damage type Magic
- Loop - Actions
- Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
- Set SpecialFX = (Last created special effect)
- Custom script: call RemoveLocation( udg_TempPoint )
- Custom script: call RemoveUnit( udg_SelfdestructUnit )
- Wait 4.00 seconds
- Special Effect - Destroy SpecialFX
- Events
Will it work if I use the damage area instead? If yes, will I need to create anymore variables?
Right now no damage is dealt. btw, the point, that IS from when he explodes, right? The ability is built on the self-explode from the goblins I think.
If anyone has a better suggestion for a special effect please tell me, coz it looks kinda stupid that "flamestrike" appears seconds after the unit has died.