• 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] Multishot with poison Arrows

Status
Not open for further replies.
Level 2
Joined
Nov 15, 2009
Messages
11
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!
 
Level 9
Joined
Aug 21, 2008
Messages
533
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.
 
Level 2
Joined
Nov 15, 2009
Messages
11
Sorry, i am noob ...

What that a 'damage detection system'? May you post a link?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Well, to create a simple damage detection system out of mind:


  • 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)

  • 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
    • 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).
 
Level 2
Joined
Nov 15, 2009
Messages
11
@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
 
Status
Not open for further replies.
Top