Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
(Unit-type of (Selling unit)) Equal to Tavern
Actions
Unit - Remove (Buying unit) from the game
Untitled Trigger 002
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to War Stomp
Actions
Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 750.00 at (Target point of ability being cast), dealing 100.00 damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 750.00 of (Position of (Casting unit))) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by (50.00, 50.00))
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by (50.00, 50.00))
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 750.00 at (Target point of ability being cast), dealing 100.00 damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 750.00 of (Position of (Casting unit)) matching ((Owner of (Picked unit)) Not equal to (Owner of (Casting unit)))) and do (Actions)
loop - actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by (50.00, 50.00))
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
figured that out...lolpdts said:for a map im making
Pushback
Events
Unit - A unit Starts the effect of ability
Conditions
(Ability being cast) Equal to War Stomp
Actions
Set TempUnitGroup = (Units within 250.00 of (Position of (Casting unit))) [b]matching[/b](((Owner of (Matching Unit)) is an enemy of (Owner of (Triggering Unit))) Equal to True)
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by (50.00, 50.00))
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last Created Special Effect)
Custom script: call DestroyGroup (udg_TempUnitGroup)