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!
how can i make a lightning effect which goes from position of unit A to position of unit B and which has the height of one of the units. A is flying but the lightning is on the ground.
"Lightning Name" is something like "AFOD" (Finger Of Death), or "CLPB" (Chain Lightning Primary).
You can easily check it by writing it in GUI and then converting it to custom script.
The "true" is for checking visibility. If this is off, you can see the effect through the fog of war (I think).
The coordinates speak for themselves I guess.
The effect goes from the point (x1, y1, z1) to (x2, y2, z2)
60 will be the offset from ground. Loc1 and Loc2 are point variables. You can use the <last created lightning effect> in GUI to refer to this lightning. Don't forget to clear the point leaks.
Custom scrip: call RemoveLocation(udg_Loc1)
Custom scrip: call RemoveLocation(udg_Loc2)
AFOD is the lighnting type. Here are all the types:
Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Chain Lightning - Secondary lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Drain lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Drain Life lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Drain Mana lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Finger of Death lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Forked Lightning lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Healing Wave - Primary lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Healing Wave - Secondary lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Lightning Attack lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Magic Leash lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Mana Burn lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Mana Flare lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
Lightning - Create a Spirit Link lightning effect from source (Position of (Triggering unit)) to target (Center of (Playable map area))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.