• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] problem with a trigger

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,174
  • Multishot
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Custom value of (Attacking unit)) Less than 3
        • Then - Actions
          • Unit - Remove MultiShot (ranged) from (Attacking unit)
          • Unit - Remove MultiAttack (Melee) from (Attacking unit)
          • Unit - Set the custom value of (Attacking unit) to ((Custom value of (Attacking unit)) + 1)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Attacking unit) is A ranged attacker) Equal to True
            • Then - Actions
              • Unit - Add MultiShot (ranged) to (Attacking unit)
            • Else - Actions
              • Unit - Add MultiAttack (Melee) to (Attacking unit)
          • Unit - Set the custom value of (Attacking unit) to 0
when i choose footman to have this ability he dont do this :S multi shoot

and its also not when i attacking the unit its when hes attacked i want it to be when he attacks...

and i dont get this trigger if i wanna change so he attacks for example 10 shoots instead of 3 like its now where do i change this O:
 
omg how i make this trigger then? if i want it for example work on demon hunter a footman or what ever :S

and omg i dont know can sum one help me make this trigger correct i mean its when he attacks not is attacked and then he will do multishot of 3 or mybe 10 if i wanna change....

can sum one help me do this one ?
 
O: ranged what do i need to change.....

i made trigger like this now

  • Multishot
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of DUMMY CHOOSER (Melee) for (Attacking unit)) Greater than 0
      • (Unit-type of (Attacking unit)) Equal to Demon Hunter
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Custom value of (Attacking unit)) Less than 1
        • Then - Actions
          • Unit - Remove MultiShot (ranged) from (Attacking unit)
          • Unit - Remove MultiAttack (Melee) from (Attacking unit)
          • Unit - Set the custom value of (Attacking unit) to ((Custom value of (Attacking unit)) + 1)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Attacking unit) is A ranged attacker) Equal to True
            • Then - Actions
              • Unit - Add MultiShot (ranged) to (Attacking unit)
              • Unit - Set level of MultiShot (ranged) for (Attacking unit) to (Level of DUMMY CHOOSER (Melee) for (Attacking unit))
            • Else - Actions
              • Unit - Add MultiAttack (Melee) to (Attacking unit)
              • Unit - Set level of MultiAttack (Melee) for (Attacking unit) to (Level of DUMMY CHOOSER (Melee) for (Attacking unit))
          • Unit - Set the custom value of (Attacking unit) to 0
and tell me where to change so it works for demon hunter :)
 
what is ranged and how i do that ? plz show me the trigger :/ huurka i know ur pro on this :)
u help me all the time i will give u rep + u helped me with map when its finished :) i mean like credits that u helped me :) liek ur name etc....
 
Status
Not open for further replies.
Back
Top