• 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.

[Trigger] Is this bugged?

Status
Not open for further replies.
It feels like this spell is bugged, some1 it doesn't work at 100% :S

  • Incarcerous
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Incarcerous *
    • Actions
      • Set TriggeringUnit = (Triggering unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of (Ability being cast) for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Create 1 Esnare 1 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
          • Set UnitVariable = (Last created unit)
          • Set Rope_Point = (Target point of ability being cast)
          • Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
          • Trigger - Turn on Unit Group <gen>
          • Wait 3.00 seconds
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of (Ability being cast) for (Triggering unit)) Equal to 2
            • Then - Actions
              • Unit - Create 1 Esnare 2 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
              • Set UnitVariable = (Last created unit)
              • Set Rope_Point = (Target point of ability being cast)
              • Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
              • Trigger - Turn on Unit Group <gen>
              • Wait 4.00 seconds
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of (Ability being cast) for (Triggering unit)) Equal to 3
                • Then - Actions
                  • Unit - Create 1 Esnare 3 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
                  • Set UnitVariable = (Last created unit)
                  • Set Rope_Point = (Target point of ability being cast)
                  • Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
                  • Trigger - Turn on Unit Group <gen>
                  • Wait 5.00 seconds
                • Else - Actions
      • Trigger - Turn off Unit Group <gen>
      • Sound - Destroy EnsnareTarget <gen>
      • Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) of Rope_Point) and do (Actions)
        • Loop - Actions
          • Unit - Unpause (Picked unit)
      • Unit - Kill UnitVariable
  • Unit Group
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of Incarcerous * for TriggeringUnit))))) of Rope_Point) and do (Actions)
        • Loop - Actions
          • Unit - Pause (Picked unit)
I don't need it in MUI, cause it's only 1 unit who use this...
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Detail pl0x
What happens ?
Units dont get paused ?
Units dont get unpaused ?
nothing happens at all ?
 
Level 5
Joined
Jan 25, 2006
Messages
103
remove the event from unitgroup trigger.

Also on the "else do actions" remove:the following actions:
Trigger - Turn off Unit Group <gen>
Sound - Destroy EnsnareTarget <gen>
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) of Rope_Point) and do (Actions)
Loop - Actions
Unit - Unpause (Picked unit)
Unit - Kill UnitVariable

add those actions to unitgroup trigger:
Unit Group
Events
Conditions
Actions
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of Incarcerous * for TriggeringUnit))))) of Rope_Point) and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
If ability being cast equal to ensare lvl1 do multiple actions
wait 3 seconds
sound - Destroy EnsnareTarget <gen>
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) of Rope_Point) and do (Actions)
Unit - Unpause (Picked unit)
Unit - Kill UnitVariable
 
Status
Not open for further replies.
Top