Triggered ability does not work with engineer upgrade

Love-Nature

New Member
Reaction score
7
The engineer upgrades the ability but the trigger does just nothing when i cast the ability...

I solved it... this is the ability :

Trigger:
  • Time Out
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Multiple ConditionsOr - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to (==) Time Out
          • (Ability being cast) Equal to (==) Time Out Upgr
    • Actions
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Time Out for (Triggering unit)) Equal to (==) 1
        • Then - Actions
          • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
          • Unit Group - Pick every unit in Temp_Group and do (Actions)
            • Loop - Actions
              • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
              • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
              • Unit - Pause (Picked unit)
          • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 5.00 seconds
        • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out for (Triggering unit)) Equal to (==) 2
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 6.00 seconds
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out for (Triggering unit)) Equal to (==) 3
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 7.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out for (Triggering unit)) Equal to (==) 4
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 8.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out for (Triggering unit)) Equal to (==) 5
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 9.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
      • -------- ---------------Aghanim's Upgrade--------------- --------
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out Upgr for (Triggering unit)) Equal to (==) 1
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 6.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out Upgr for (Triggering unit)) Equal to (==) 2
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 7.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out Upgr for (Triggering unit)) Equal to (==) 3
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 8.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out Upgr for (Triggering unit)) Equal to (==) 4
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 9.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Time Out Upgr for (Triggering unit)) Equal to (==) 5
          • Then - Actions
            • Set Temp_Group = (Units in (Playable map area) matching (((Owner of (Matching unit)) Not equal to (!=) (Owner of (Triggering unit))) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) T
            • Unit Group - Pick every unit in Temp_Group and do (Actions)
              • Loop - Actions
                • Sound - Play ReviveNightElf <gen> at 100.00% volume, attached to (Picked unit)
                • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepSpecialArt.mdl
                • Special Effect - Destroy (Last created special effect)
                • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
                • Unit - Pause (Picked unit)
            • Countdown Timer - Start Timer9 as a One-shot timer that will expire in 10.00 seconds
          • Else - Actions
      • Custom script: call DestroyGroup(udg_Temp_Group)
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
just confirming this is solved correct?

and you could DRASTICALLY shorten this ability, it can be done with arithmetic
Trigger:
  • countdown timer - start timer9 as a one-shot timer that will expire in (5.00 + Real(level of abil for unit)) seconds
 

Love-Nature

New Member
Reaction score
7
just confirming this is solved correct?

and you could DRASTICALLY shorten this ability, it can be done with arithmetic
Trigger:
  • countdown timer - start timer9 as a one-shot timer that will expire in (5.00 + Real(level of abil for unit)) seconds

I know it.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top