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

Ensnare with damage

Status
Not open for further replies.
Level 1
Joined
Jun 23, 2014
Messages
4
I am particularly new at map making and have very little knowledge in triggering.
Can someone help me in triggering the ensnare ability with damage over its duration? I would really appreciate it.

I already researched this problem here at forums but I can't really understand the flow of the triggers.
 
Last edited:

EdgeOfChaos

E

EdgeOfChaos

@Boris_Spider, Entangling Roots has a different behavior than Ensnare; you can't attack in Roots but you can in Ensnare.

@Topic: This is by far the easiest way to do it via triggers. No units will get credit though.
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup=true
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Ensnare (General)) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 30.00)
You can do it better but it requires a unit indexer.
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
@Boris_Spider, Entangling Roots has a different behavior than Ensnare; you can't attack in Roots but you can in Ensnare.

This is true, I ran through all of the abilities and none of them permitted influencing movement and whether you can attack.

The closest I found would use a modified Unholy Aura with movement buff set to slowest possible (affecting self) and negative life regeneration. I know that the life regen can be negative but I haven't tested to see if the movement speed can be decreased to effectively zero. The problem is that the ability would still have to be triggered...

Sorry for the confusion.
//\\==//\\
 
Level 25
Joined
May 11, 2007
Messages
4,650
Just use Ensnare ability and trigger a dummy casting stormbolt with 0.01 duration and appropriate damage. Or if you don't like channel interruptions use acidbomb for the dummy.
Then it's not the ensnare ability any longer as the ensnare ability doesn't stun, better use a non-stun ability like shadow strike or chain lighting instead.

@Boris_Spider, Entangling Roots has a different behavior than Ensnare; you can't attack in Roots but you can in Ensnare.

@Topic: This is by far the easiest way to do it via triggers. No units will get credit though.
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup=true
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Ensnare (General)) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 30.00)
You can do it better but it requires a unit indexer.
Doesn't give bounty to the player who casted the ability if the target died.
+ 1 second will make it very random when it deals damage.






-----------------
So I'd say your best bet would be to use a dummy unit that casts a damage ability at the same time as you cast your ensnare ability.
 
Status
Not open for further replies.
Top