• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

how i make tower shut with chain lightning

Status
Not open for further replies.
sry for the harsh words, but it looks like you have COMPLETELY no idea on how to work with the world editor, i advise you to look around yourself, play with object editor, read some tutorials, or watch some movies on youtube, otherwise its completely senseless
 
Not exactly as I have experienced problems with orbs when testing them. For example it not casting the spell when it should (all conditions met) or it locking up and being unable to cast the spell unless you manually re-order it to attack. Thus would probably be why few TDs actually use that method since it should be a lot easier than triggers.

Just check for any bugs with the orb method while using it, who knows I may be wrong.
 
there's a way to get around the 100% orb effect bug tho... i think its a trigger like

'if unit is being attacked
Command "attacking unit" to "attack" "attacked unit"....

sounds stupid... but it works i think... i might be wrong tho... but i'm sure there's a way cos i use it for all my maps to fix dumb orb effect stuff...

*i need 2 install warcraft editior in my work com man... else i keep giving ambigious codes :s*
 
gabjus you are almost correct, i forgot that you need these triggers additionally:

  • trigger1
  • Events
    • Unit - a Unit finshes construction
  • Conditions
    • constructed Unit equal to chainlightning tower
  • Actions
    • Trigger - add to trigger2 the event (triggering Unit targets a Unit)

  • trigger2
  • Events
  • Conditions
  • Actions
    • Unit - order Triggering Unit to attack targeted Unit
it is important that you do not enter any events in trigger2, and the orb thing will not work without those 2 triggers, if you have more towers like that add them with OR-conditions to the first trigger
 
1.Add Lightning attack ability to the tower.
2.Set the projectile speed (Combat - Attack # - Projectile speed) of the tower to something fast, like 1500 or 2000.
3.Set the projectile art (Combat - Attack # - Projectile art) to Abilities - Lightning attack {missile} or Abilities\Weapons\ChimaeraLightningMissile\ChimaeraLightningMissile.mdl. I hope that is what you wanted.
 
  • AntiDeny
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to True
        • Then - Actions
          • Unit - Order (Attacking unit) to Stop
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Owner of (Attacking unit)) controller) Equal to User
            • Then - Actions
              • Unit - Order (Attacking unit) to Attack (Attacked unit)
            • Else - Actions
              • Do nothing
this is my anti-deny + fix for orb effects trigger.... it works (at least in my map)... n it doesn't lag up anythin (not noticeable at least)... couple that the lightning orb n it will work le
 
  • Lightning shoot
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Guard Tower
    • Actions
      • Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning (Attacked unit)
 
Status
Not open for further replies.
Back
Top