I don't think there is. "UNIT_SPELLCAST_START" is the earliest you can check and that I believe doesn't always trigger and instead using "UNIT_SPELLCAST_SUCCEEDED" when it doesn't trigger. But in both cases the cast has started.
Unfortunately the computer cannot know when someone is about to cast until they have started to cast.
What exactly do you want your script to do ?
|