• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

AoE Roots Don't Work

Status
Not open for further replies.
Level 6
Joined
Apr 5, 2018
Messages
115
On This is Skill this is not work, but on four other skills this work. This is don't work, dummy don't use skill.
RootsUltimateAoE
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Oplątające Korzenie
Actions
Set PointSkill = (Target point of ability being cast)
Set UntGroupSkill = (Units within 350.00 of PointSkill matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_PointSkill)
Unit Group - Pick every unit in UntGroupSkill and do (Actions)
Loop - Actions
Set PointSkill = (Position of (Picked unit))
Unit - Create 1 Dummy for (Owner of (Casting unit)) at PointSkill facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Make (Last created unit) Explode on death
Unit - Add Oplatające Korzenie (CODE) to (Last created unit)
Unit - Set level of Oplatające Korzenie (CODE) for (Last created unit) to (Level of Oplątające Korzenie for (Casting unit))
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
Custom script: call RemoveLocation (udg_PointSkill)
Custom script: call DestroyGroup (udg_UntGroupSkill)
THIS IS WORK:
HolyLightAoE
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Święty Blask
Actions
Set PointSkill = (Target point of ability being cast)
Set UntGroupSkill = (Units within 150.00 of PointSkill matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_PointSkill)
Unit Group - Pick every unit in UntGroupSkill and do (Actions)
Loop - Actions
Set PointSkill = (Position of (Picked unit))
Unit - Create 1 Dummy 2 for (Owner of (Casting unit)) at PointSkill facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Make (Last created unit) Explode on death
Unit - Add Święty Blask (CODE) to (Last created unit)
Unit - Set level of Święty Blask (CODE) for (Last created unit) to (Level of Święty Blask for (Casting unit))
Unit - Order (Last created unit) to Human Paladin - Holy Light (Picked unit)
Custom script: call RemoveLocation (udg_PointSkill)
Custom script: call DestroyGroup (udg_UntGroupSkill)
AND 3 OTHERS:
StrikeAoE
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Uderzenie Gniewu
Actions
Set PointSkill = (Target point of ability being cast)
Set UntGroupSkill = (Units within 200.00 of PointSkill matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_PointSkill)
Unit Group - Pick every unit in UntGroupSkill and do (Actions)
Loop - Actions
Set PointSkill = (Position of (Picked unit))
Unit - Create 1 Dummy for (Owner of (Casting unit)) at PointSkill facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Make (Last created unit) Explode on death
Unit - Add Uderzenie Gniewu (CODE) to (Last created unit)
Unit - Set level of Uderzenie Gniewu (CODE) for (Last created unit) to (Level of Uderzenie Gniewu for (Casting unit))
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Custom script: call RemoveLocation (udg_PointSkill)
Custom script: call DestroyGroup (udg_UntGroupSkill)
AoECripple
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Masowe Okaleczenie
Actions
Set PointSkill = (Target point of ability being cast)
Set UntGroupSkill = (Units within 200.00 of PointSkill matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_PointSkill)
Unit Group - Pick every unit in UntGroupSkill and do (Actions)
Loop - Actions
Set PointSkill = (Position of (Picked unit))
Unit - Create 1 Dummy for (Owner of (Casting unit)) at PointSkill facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Make (Last created unit) Explode on death
Unit - Add Masowe Okaleczenie (CODE) to (Last created unit)
Unit - Set level of Masowe Okaleczenie (CODE) for (Last created unit) to (Level of Masowe Okaleczenie for (Casting unit))
Unit - Order (Last created unit) to Undead Necromancer - Cripple (Picked unit)
Custom script: call RemoveLocation (udg_PointSkill)
Custom script: call DestroyGroup (udg_UntGroupSkill)
AviatorBomb
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bomba
Actions
Set PointSkill = (Target point of ability being cast)
Set UntGroupSkill = (Units within 200.00 of PointSkill matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_PointSkill)
Unit Group - Pick every unit in UntGroupSkill and do (Actions)
Loop - Actions
Set PointSkill = (Position of (Picked unit))
Unit - Create 1 Dummy for (Owner of (Casting unit)) at PointSkill facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Make (Last created unit) Explode on death
Unit - Add Bomba (CODE) to (Last created unit)
Unit - Set level of Bomba (CODE) for (Last created unit) to (Level of Bomba for (Casting unit))
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Custom script: call RemoveLocation (udg_PointSkill)
Custom script: call DestroyGroup (udg_UntGroupSkill)
 
Status
Not open for further replies.
Top