• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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