• 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] Silence Aura

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
I'm trying to make an aura that disable the abilities of all unit that comes within range of it. Using dummies is an option but I'm not sure which technique is most efficient in casting silence on a unit then remove it after its out of range. Anyone have ideas on how to start this?
 
Level 8
Joined
Apr 30, 2009
Messages
338
Can you try this

  • Events
    • Generic Unit Event - A unit begins casting an ability
  • Conditions
    • Buff Comparison - (Triggering unit) has buff (Silence Aura)
  • Actions
    • Unit - Order (Triggering unit) to Stop
This won't disable auras.
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Ok I tested something and lets try it:

1) At first, search for the Silence Ability from the Dark Ranger (Neutral Hostile - Hero) and make this ability to a UNIT ability. ( Stats: Hero Ability: False). Set Manacost to 0 and add a good duration.

2) Create one ability with no effect for example Evasion. Rename this ability to silence aura - and change what you want.

3) Create one dummy and add the Silence Ability to this dummy (Silence from step 1)

3) Create the following trigger:
  • Silence Aura
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units within 600.00 of (Position of Sorceress 0006 <gen>)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (((Picked unit) belongs to an enemy of (Owner of (Unit with aura))) Equal to True) and (((Picked unit) is alive) Equal to True)
            • Then - Actions
              • Unit - Create 1 Dummy for (Owner of Sorceress 0006 <gen>) at (Position of (Picked unit)) facing Default building facing degrees
              • Unit - Add a 1.00 second Raise Dead expiration timer to (Last created unit)
              • Unit - Order (Last created unit) to Neutral Dark Ranger - Silence (Position of (Picked unit))
            • Else - Actions
              • Do nothing
- I use range 600 - ofc you can change it aswell.
 
Level 12
Joined
Jul 27, 2008
Messages
1,181
The constant loop will cause lag, best use:
  • Trigger
  • Events
    • Unit - A unit Begins casting an Ability
  • Conditions
    • Unit has buff Silence Aura Equal to True
  • Actions
    • Create 1 dummy for Neutral Hostile at Position of Triggering Unit
    • Add a 5 second generic timer to Last Created Unit
    • Order Last created unit to silence Triggering Unit
 
Status
Not open for further replies.
Top