• 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 to make Auto Attack or Storm Bolt look like Chain Lightning?

Level 5
Joined
May 10, 2024
Messages
57
Hi. I want to make Auto Attack and Storm Bolt ability to look like Chain Lightning or Finger of Death. With blue/red chain between the caster and target.

I changed missile to Chain Lightning for attack missile and ability missile. They shoot balls instead of the chains!
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
Hi. I want to make Auto Attack and Storm Bolt ability to look like Chain Lightning or Finger of Death. With blue/red chain between the caster and target.

I changed missile to Chain Lightning for attack missile and ability missile. They shoot balls instead of the chains!
For Auto Attacks, you need to use the Lightning Attack ability. See how The Chimaera is setup and copy it's weapon settings and important abilities over.

For Abilities like Storm Bolt you'll need to rely on triggers. This is because all abilities have predefined behavior. Storm Bolt always fires a Missile which Stuns on impact. You can only modify what it already does, not add entirely new mechanics to it. There may be some exceptions here and there but this is generally the case.

A simple fix for Storm Bolt would be to trigger the Lightning effects yourself and Remove it's Missile Art and Set it's Missile Speed to 0.00. This will cause Storm Bolt to hit the target immediately without any Missile visuals.

Then for the Lightning, I created a little system here that can make the process much easier for you:

Once downloaded and copied into your map, simply create a trigger like so:
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Storm Bolt
  • Actions
    • Set VariableSet Lightning_Point[0] = (Position of (Casting unit))
    • Set VariableSet Lightning_Point[1] = (Position of (Target unit of ability being cast))
    • Set VariableSet Lightning_Targeting = Lightning__P2P
    • Set VariableSet Lightning_Duration = 1.00
    • Set VariableSet Lightning_Offset = 45.00
    • Set VariableSet Lightning_Art = FORK
    • Trigger - Run Lightning Create <gen> (ignoring conditions)
The Lightning_ variables and Lightning Create trigger are provided by the system.
 
Last edited:
Top