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

[JASS] Scripted attacks?

Status
Not open for further replies.
I have a small problem.
I want to be able to replace a units standard attack with a scripted one, so that i may apply, for example, premade attack patterns, or use lighting effects and channeled standard attacks.

Thing is, i want the units damage to show properly in the UI.
Preferably, i would like to detect the attack with something like an orb, and then stop the actual damage from occur while i trigger my own attack. But i don't really know how to do that.
Can anyone help me?
 
Well, i am using a struct based damage listener made by Dr Super Good, but wouldn't it cause a lot of lag, just having to attatch a trigger to each and every unit to see if they're hit?

Also, does that mean i should detect the attack through the triggering of the damage detect system, or should i still use orbs for that?
 
Status
Not open for further replies.
Top