mass entangle + Silence

windale5

New Member
Reaction score
2
Ok i have a mass entangle trigger but what would i have to add in order to stop units/ heroes from using their abilities and items when mas entagled. I do not want to use pause trigger because it causes glitches. They can be hexed or something else. Also this ability is for 400 range but i need it for 3 levels so can somebody post a code that will have higher lvl thus increasing range.

Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Silence
    • Actions
      • Unit Group - Pick every unit in (Units within 400.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Entagler for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
 

Ticer

New Member
Reaction score
2
Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Silence
    • Actions
    • Unit - Create 1 (dummy) at (target point of ability being cast) for owner of triggering unit
    • Unit - Add silence to (last created unit)
    • Unit - set level of (silence) for (last created unit) to (real(level of (your spell)) for (casting unit)
    • Unit - order (last created unit) to cast silence at (target point of ability being cast)
    • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
      • Unit Group - Pick every unit in (Units within 400.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Entagler for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)

I just wrote that by hand, so don't look for exact phrases or spelling in it, just a rough idea from what I remembered. Also, I think this trigger might contain some leaks. I'll try to get back to that later. Hope this helps.
Edit: added lvl of spell part.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
He probaly wants difrent efects than cluster
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
???
How can you use an effect different from cluster? Lightning effect? Why would he want that?
 

windale5

New Member
Reaction score
2
ok

ok lets forget them stuns can you just plz post a code to make this spell into 3 lvls with ability to increase AOE.
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Silence
    • Actions
      • Unit Group - Pick every unit in (Units within (300.00 + ((Level of Silence for (Casting Unit)) * 100)) of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Entagler for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)


Based off the trigger you posted.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
U need to create 1 unitgroup and 1 point and remove them
 

Igor_Z

You can change this now in User CP.
Reaction score
61
That trigger has leaks. Fix it, it will cause lags in the game. Fixed trigger:

Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Silence
    • Actions
      • Set Mass_Entagle_Caster = (Triggering unit)
      • Set Mass_Entagle_Point = (Targeted point of ability being Cast)
      • Set Mass_Entagle_Group = (Units within (300 + ((Level of Silence for Mass_Entagle_Caster)) * 100 or whatever)) of (Mass_Entagle_Point)) matching (((Matching unit) is a structure equal to false) and ((Matching unit) is Magic Immune) equal to false and (Matching unit) is alive equal to true) and ((Matching unit) belongs to an enemy of Owner of Mass_Entagle_Caster)))))
      • Unit Group - Pick every unit in Mass_Entagle_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Mass Entagle Dummy for (Owner of (Mass_Entagle_Caster)) at (Mass_Entagle_Point)) facing Default building facing degrees
          • Set Mass_Ensnare_Dummy = (Last created unit)
          • Unit - Add Entangling Roots(Custom Spell) to Mass Ensnare Dummy
          • Unit - Set Level of Entangling Roots(Custom Spell) for Mass_Ensnare_Dummy to ((Level of Silence for Mass_Entagle_Caster))
          • Unit - Add a 1.00 second Generic expiration timer to Mass_Ensnare_Dummy
          • Unit - Order Mass_Ensnare_Dummy to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
      • Custom script: call RemoveLocation(udg_Mass_Entagle_Point)
      • Custom script: call DestroyGroup(udg_Mass_Entagle_Group)


Make sure you have the Mass Entagle Dummy and his cast backswing and cast point values set to 0 or 0.001.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Igor why do u have that long triger just use bobs one with variables
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Igor why do u have that long triger just use bobs one with variables
Hmm maybe cuz Bobs one doesn't have proper conditions to check what units to pick...
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
K then us bobs one with variables and the right condition to pick the units
 

windale5

New Member
Reaction score
2
igorz doesn't work

i have the problem that it only entagles only 1 unit instead of many. What am i doing wrong.

Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Mass Entangle (Naga Siren)
    • Actions
      • Set Mass_entagle_Caster = (Triggering unit)
      • Set Mass_Entagle_Point = (Target point of ability being cast)
      • Set Mass_Entagle_Group = (Units within (300.00 + ((Real((Level of Silence (Dark Ranger) for Mass_entagle_Caster))) x 100.00)) of Mass_Entagle_Point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Triggering u
      • Unit Group - Pick every unit in Mass_Entagle_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Entagler for (Owner of Mass_entagle_Caster) at Mass_Entagle_Point facing Default building facing degrees
          • Set Mas_Ensnare_Dummy = (Last created unit)
          • Unit - Add Entangling Roots (Siren) to Mas_Ensnare_Dummy
          • Unit - Set level of Entangling Roots (Siren) for Mas_Ensnare_Dummy to (Level of Silence (Dark Ranger) for Mass_entagle_Caster)
          • Unit - Add a 1.00 second Generic expiration timer to Mas_Ensnare_Dummy
          • Unit - Order Mas_Ensnare_Dummy to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
          • Custom script: call RemoveLocation (udg_Mass_Entagle_Point)
          • Custom script: call DestroyGroup (udg_Mass_Entagle_Group)


I have the word real added is that make it wrong???
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
U said level of silence(dark ranger) shouldnt it be mass entangle
 

windale5

New Member
Reaction score
2
ok fixed

ok i fix that but it only engles 2 heroes and no units at all. Can some help me fix this.
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
You're destroying the point and the group before actually looping through all the units. You need to destroy them AFTER the loop, not inside. Should look like this:

Trigger:
  • MassEntangle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Mass Entangle (Naga Siren)
    • Actions
      • Set Mass_entagle_Caster = (Triggering unit)
      • Set Mass_Entagle_Point = (Target point of ability being cast)
      • Set Mass_Entagle_Group = (Units within (300.00 + ((Real((Level of Silence (Dark Ranger) for Mass_entagle_Caster))) x 100.00)) of Mass_Entagle_Point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Triggering u
      • Unit Group - Pick every unit in Mass_Entagle_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Entagler for (Owner of Mass_entagle_Caster) at Mass_Entagle_Point facing Default building facing degrees
          • Set Mas_Ensnare_Dummy = (Last created unit)
          • Unit - Add Entangling Roots (Siren) to Mas_Ensnare_Dummy
          • Unit - Set level of Entangling Roots (Siren) for Mas_Ensnare_Dummy to (Level of Silence (Dark Ranger) for Mass_entagle_Caster)
          • Unit - Add a 1.00 second Generic expiration timer to Mas_Ensnare_Dummy
          • Unit - Order Mas_Ensnare_Dummy to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
      • Custom script: call RemoveLocation (udg_Mass_Entagle_Point)
      • Custom script: call DestroyGroup (udg_Mass_Entagle_Group)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top