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

[JASS] Detecting weapon attack

Status
Not open for further replies.
Level 15
Joined
Dec 29, 2006
Messages
985
Im not sure what to call this, so I'll use an example. The mountain king has two weapons, one in each hand, is it possible to detect which weapon he attacks an enemy with?

You could use this for: adding effects like: bash one hand, crit the other or elemental effects.

I'm also not sure what section to put this in, but I'm 100% positive it would require JASS.
 
I don't believe so - each attack just counts as the attack order I believe, with random variations on the animation. If you could remove the random variation of the attack you might be able to somehow trigger in the animations using spells (either randomly trigger them or follow some system) - each spell would use a different animation.

The first step would really just be to eliminate the random attack variations.
 
The forum is here to help you - try putting it together and then ask to see if they can point out any leaks. Make sure you search around for information about leaks first though, otherwise you'll be met with a torch brigade.
 
Status
Not open for further replies.
Back
Top