• 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] Questions

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2005
Messages
29
1) What would "GetFilterUnit" be in GUI? It's used with Unit Group - Pick every unit in range matching condition.
2) How do I tell if the "EVENT_PLAYER_UNIT_SPELL_CAST" refers to "Unit begins casting a spell" or "Unit finishes casting a spell"?
3) Kind of trigger in general questions: What's the difference between spell cast and spell effect?
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
  1. "Matching Unit"
  2. EVENT_PLAYER_UNIT_SPELL_CAST = Begins
    EVENT_PLAYER_UNIT_SPELL_EFFECT = Starts the Effect
    EVENT_PLAYER_UNIT_SPELL_ENDCAST = Stops
    EVENT_PLAYER_UNIT_SPELL_CHANNEL = Begins channeling
    EVENT_PLAYER_UNIT_SPELL_FINISH = Finishes

    You'll want to use EFFECT, it's the most accurate. (After mana cost, in range, cooldown, backswing, but retains all the event responses)
  3. Spell cast: before mana cost, cooldown, backswing, etc
    Spell effect: after the above

    Basically like "A Unit Is Attacked" versus an attack-detection system using "XXX Unit is Damaged"
 
Status
Not open for further replies.
Top