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

Detecting Last Spell

Status
Not open for further replies.
Level 3
Joined
Apr 26, 2008
Messages
26
I basicly want to know how can i detect what last unit casted?

What trigger command (No jass pl0x) it requires?

DO i need to make freaking variable for all spell so when those have been casted its stored to variable etc etc. tell me no please :p

And dont give me help to this if its not possible to Make unit cast last spell it casted
 
Level 9
Joined
Apr 3, 2008
Messages
700
You need only one global variable without array.
_____________________________________________________
Event: Generic unit event - Unit Finishes casting an ability

Actions: set Ability = ability being cast.
_____________________________________________________
 
Level 3
Joined
Apr 26, 2008
Messages
26
I wanted to make spell when you cast example chain lighting to target it stops casting it when totem is near of it and cast same ability to totem. I made this this far but only thing what i cannot do is that i make him to cast (variable spell)
 
Status
Not open for further replies.
Top