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

how i make tower shut with chain lightning

Status
Not open for further replies.
Level 14
Joined
Nov 4, 2006
Messages
1,241
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
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
I do not think towers shut at all.

Maybe you are refering to shoot.

2 ways.

One you set its normal attack to the stats you want and add the lightning attack ability from the thunder lizards to it.

Two you could use triggers to make it auto cast the spell chain lightning with stats fitting your needs.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
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.
 
Level 2
Joined
Dec 23, 2007
Messages
23
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*
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
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
 
Level 8
Joined
Mar 12, 2008
Messages
437
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.
 
Level 2
Joined
Dec 23, 2007
Messages
23
  • 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
 
Level 17
Joined
May 6, 2008
Messages
1,598
  • 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.
Top