1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  5. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  6. The 13th Music Contest Poll is up! Vote for the best tracks in this symphony of frost and flame.
    Dismiss Notice
  7. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] Multishot with poison Arrows

Discussion in 'Triggers & Scripts' started by De.eL, Dec 10, 2009.

  1. De.eL

    De.eL

    Joined:
    Nov 15, 2009
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Hello guys,


    I'm on a Warcraft III ORPG at the moment and i woud like to make a buff, which adds a Poison Damage to my heroes next attack.

    I want this, because I did a Multishot allready, and I want an ORPG in which you can make combinations (example: you give yourself this poison buff, and cast multishot, so all arrows are Poison arrows, and not normal arrows anymore).

    €dit: Any suggestions for help? any triggers?

    Thx for help (I'm quiet new, so be nice to me :thumbs_up: )

    Doom!
     
  2. splashy5

    splashy5

    Joined:
    Jul 22, 2007
    Messages:
    259
    Resources:
    0
    Resources:
    0
    Poison arrow and multishot(barrage) dont stack they are orb effects

    sry :p

    you could try making the ability out of triggers gives you more control.
     
  3. SlayerII

    SlayerII

    Joined:
    Aug 21, 2008
    Messages:
    526
    Resources:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    2
    barrage is NOT a orb effect, they will stack-unfortunaly you will only get 1(one) poisoned arrow. what you would need would be dummy units which cast spells which do the posien job.

    First of all you would need a damage detection system(or you create one)

    every time a unit is damaged you chek if the attacking has the posion buff-if it has just add the buff with a dummy unit.
     
  4. De.eL

    De.eL

    Joined:
    Nov 15, 2009
    Messages:
    10
    Resources:
    0
    Resources:
    0
  5. SlayerII

    SlayerII

    Joined:
    Aug 21, 2008
    Messages:
    526
    Resources:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    2
    still doesnt matter if you use a damage detection system:grin:
    but in this case you maybe just change the spell a bit =)
     
  6. De.eL

    De.eL

    Joined:
    Nov 15, 2009
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Sorry, i am noob ...

    What that a 'damage detection system'? May you post a link?
     
  7. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,778
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    Well, to create a simple damage detection system out of mind:

    Init Trigger

    • Init
      • Events
        • Map initialization
      • Conditions
      • Actions
        • Set UnitGroup = (Units in (Playable map area))
        • Unit Group - Pick every unit in UnitGroup and do (Actions)
          • Loop - Actions
            • Trigger - Add to Check Damage <gen> the event (Unit - (Picked unit) Takes damage)
        • Custom script: call DestroyGroup(udg_UnitGroup)

    Add Events

    • Damage Detection
      • Events
        • Unit - A unit enters (Playable map area)
      • Conditions
      • Actions
        • Trigger - Add to Check Damage <gen> the event (Unit - (Entering unit) Takes damage)

    Check Damage

    • Check Damage
      • Events
      • Conditions
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Or - Any (Conditions) are true
              • Conditions
                • (Current order of (Damage source)) Equal to (Order(attack))
                • (Current order of (Damage source)) Equal to (Order(smart))
          • Then - Actions
            • Normal Attack
          • Else - Actions
            • Spell or something

    I think this should work, didn't test it though :/
    (p.s.: if you're going to test this, add all players - if you set units for player blue, but forget to add player blue in the player options, it won't work).
     
  8. 88WaRCraFT3

    88WaRCraFT3

    Joined:
    Jun 9, 2009
    Messages:
    1,137
    Resources:
    1
    Spells:
    1
    Resources:
    1
    I will do that for you. Only give me the map.
     
  9. Undead_ted

    Undead_ted

    Joined:
    Jun 11, 2009
    Messages:
    150
    Resources:
    0
    Resources:
    0
    And that's how you lose your map. :p
     
  10. 88WaRCraFT3

    88WaRCraFT3

    Joined:
    Jun 9, 2009
    Messages:
    1,137
    Resources:
    1
    Spells:
    1
    Resources:
    1
    1. i dont know what is he using. 2. Im not man who will pick up other maps. 3. I only want to help. Giving me the template and triggers i will work it.
     
  11. De.eL

    De.eL

    Joined:
    Nov 15, 2009
    Messages:
    10
    Resources:
    0
    Resources:
    0
    @88warcraft3:
    Thank you very much, but i handled it. It works well now, but if i need your help I will ask you first :)

    @undead_ted:
    I think you may trust into all ppl on the Hive.

    Thanks to all of you helping me :)

    De.eL