1. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  2. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  3. The 20th iteration of the Terraining Contest is upon us! Join and create exquisite Water Structures for it.
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice

Silence with triggers

Discussion in 'World Editor Help Zone' started by Arganato, Mar 8, 2010.

  1. Arganato

    Arganato

    Joined:
    Nov 1, 2009
    Messages:
    4
    Resources:
    0
    Resources:
    0
    How can I silence units with triggers? I didnt find any function that does it (is there one? jass or gui, doesnt matter), and the silence-spell is aoe, which makes it hard to trigger dummy-units to cast it. Are there any other spells I can use?

    tnx
     
  2. Dynasti

    Dynasti

    Joined:
    Oct 18, 2007
    Messages:
    877
    Resources:
    4
    Maps:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    4
    Only way to do this is to make a dummy cast the silence spell on the desired unit. Via triggers. :)

    And you could just reduce the aoe to around 10 and make it directly cast at the unit or make it a single target spell from world editor.
     
    Last edited: Mar 8, 2010
  3. Pharaoh_

    Pharaoh_

    Joined:
    Nov 6, 2008
    Messages:
    8,127
    Resources:
    11
    Icons:
    3
    Skins:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    11
    If it's a one-target ability, then use Soul Burn.
    Use the action:
    • Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn (Target unit of ability being cast)
     
  4. Arganato

    Arganato

    Joined:
    Nov 1, 2009
    Messages:
    4
    Resources:
    0
    Resources:
    0
    Soul burn? Great! Thanks a lot :)
     
  5. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    7,820
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    Just change the buff of Soul Burn to "silence" and the damage over time to zero.
     
  6. Arganato

    Arganato

    Joined:
    Nov 1, 2009
    Messages:
    4
    Resources:
    0
    Resources:
    0
    Yup, that part I figured out :)
     
  7. Tiche3

    Tiche3

    Joined:
    Jun 25, 2009
    Messages:
    432
    Resources:
    1
    Spells:
    1
    Resources:
    1
    But wouldn't it be easier to set the dummy unit's casting stuff to 0, ability cooldown to 0, spell animation none, then create a dummy and cast to units nearby or in that AoE by picking the units. :)

    Hope this will help

    EDIT: If you like the idea, will you write it here?, and if yes and you don't know how, i'll write the triggers here.

    Tiche3:grin:
     
  8. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    7,820
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    You're smarter than most posters here, already.
     
  9. Tiche3

    Tiche3

    Joined:
    Jun 25, 2009
    Messages:
    432
    Resources:
    1
    Spells:
    1
    Resources:
    1
    I hope he'll look into what i wrote and tells me if he liked it >.>

    Tiche3:grin:
     
  10. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    7,820
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    He said he doesnt want a group silenced, dude.
     
  11. Tiche3

    Tiche3

    Joined:
    Jun 25, 2009
    Messages:
    432
    Resources:
    1
    Spells:
    1
    Resources:
    1
    The spell is AOE (what is that bro?, whut? o_O) i thought he wanted an AoE spell, sorry, my bad, use the stuff they suggested :)

    Tiche3:grin:
     
  12. Justify

    Justify

    Joined:
    Mar 16, 2008
    Messages:
    935
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    3
    Resources:
    5
    The normal silence is aoe, no reason to pick anything ;)
     
  13. Arganato

    Arganato

    Joined:
    Nov 1, 2009
    Messages:
    4
    Resources:
    0
    Resources:
    0
    lol, hehe, tnx man ;)

    well, I've done a bit of coding before, so I know the basics, I've just got problems with all the built in functions. They look like a mess...

    yeah, my spell is singlecast. what I meant is that the original silence-spell is an aoe-spell. If I wanted it aoe, yours solution sounds quite smart (exept that I'd have to make a new dummy-unit :p).
    tnx for the reply anyways

    Arga
     
  14. Tiche3

    Tiche3

    Joined:
    Jun 25, 2009
    Messages:
    432
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Good luck with mapping ;D

    Tiche3:grin: