• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Spell doesn't work

Status
Not open for further replies.
Level 13
Joined
Oct 25, 2009
Messages
995
[Unsolved]Spell doesn't work

Here is the trigger,object editor of dark wave original spell is Channel.
IT DOESN'T WORK!!! anyone can help ? :)
  • Dark Wave
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Dark Wave
    • Actions
      • Set Dark_Wave_U1 = (Triggering unit)
      • Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
      • Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
          • Wait 0.50 seconds
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 300.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (100.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
          • Wait 0.50 seconds
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 450.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (150.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_Dark_Wave_Group)
 
Last edited:
Level 13
Joined
Oct 25, 2009
Messages
995
Do NOT use Waits in Loop, it can cause BUGS.

Ok,what should i do?i want after 0.5 spam next wave T_T
EDIT:Remove also doesn't work.
And the trigger i change to this also doesn't work
  • Dark Wave
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Dark Wave
    • Actions
      • Set Dark_Wave_U1 = (Triggering unit)
      • Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
      • Set Dark_Wave_Point[1] = ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees)
      • Set Dark_Wave_Point[2] = ((Position of Dark_Wave_U1) offset by 300.00 towards (Facing of Dark_Wave_U1) degrees)
      • Set Dark_Wave_Point[3] = ((Position of Dark_Wave_U1) offset by 450.00 towards (Facing of Dark_Wave_U1) degrees)
      • Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at Dark_Wave_Point[1] facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at Dark_Wave_Point[2] facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (100.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at Dark_Wave_Point[3] facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (150.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_Dark_Wave_Group)
Like this also doesn't work....
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Dark Wave
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Dark Wave
    • Actions
      • Set Dark_Wave_U1 = (Triggering unit)
      • Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
      • Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_Dark_Wave_Group)
      • Wait 0.5 seconds
      • Set Dark_Wave_U1 = (Triggering unit)
      • Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
      • Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_Dark_Wave_Group)
      • Wait 0.5 seconds
      • Set Dark_Wave_U1 = (Triggering unit)
      • Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
      • Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_Dark_Wave_Group)
 
Level 13
Joined
Oct 25, 2009
Messages
995
Status
Not open for further replies.
Top