• 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] what is wrong i chanegd my unit so its ranged

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
  • Multishot
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Multishot ChoseR for (Attacking unit)) Greater than 0
      • (Unit-type of (Attacking unit)) Equal to Legolas
    • 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 MultiAttack (Dummy) from (Attacking unit)
          • Unit - Remove MultiShot (Dummy) 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 MultiAttack (Dummy) to (Attacking unit)
              • Unit - Set level of MultiAttack (Dummy) for (Attacking unit) to (Level of Multishot ChoseR for (Attacking unit))
            • Else - Actions
              • Unit - Add MultiShot (Dummy) to (Attacking unit)
              • Unit - Set level of MultiShot (Dummy) for (Attacking unit) to (Level of Multishot ChoseR for (Attacking unit))
          • Unit - Set the custom value of (Attacking unit) to 0
its still not working even if i changed so unit is ranged :S wtf
 
Status
Not open for further replies.
Top