Thank you very much for taking the time to think about the code and to share the info
Still, I'm confused. I don't really need a code to change the player-characters' behavior when they're hit with Seizure (they already kneel and anyone with half a brain would notice their HP being drained away). Only the enemies'. I was hoping a code that checks for the enemies' status could be implemented in the party members' AI, but chances are it's not possible (oh yeah, and now that I think about it, is there a way to make use of the Formations' AI ? Because right now, if you try to edit them in any version of PrC, it crashes (it not really crashes, since you can edit the AI and leave the menu, but you won't be able to go back into the Fomation's AI menu afterwards)). End of parenthesis.
Back to the subject at hand. Actually, forget about Blind & animations. I just want a script that tells you that Seizure connects if the enemy is under the status (with a message at the top of the screen). It doesn't even have to be enemy-specific ; if I use the Seizure magic on a Cokatrice and the message "Enemy started convulsing" displays (thanks for the wording, by the way
), anyone with half a brain should know that it is the Cokatrice that is now under Seizure ^^
Taking a look at your code, would adding this script under all non-Seizure-immuned enemies' General Counter scripts work ?
02 2060
00 4013
80 ; they have the "Dual" status
02 2060
00 401B
80 ; they have the "DualDrain" status
50 ; they have both statuses
70 XXXX
93 "The enemy started convulsing"
Small question though : what is the XXXX refering to ? Is it an address ? The enemy's ID ?...
(also, fun fact in the game mechanics : it looks like enemies that have less than ~40 HP are immune to Dual+Dual Drain, even if you didn't make them immune. In my mod, the MP enemies had 32 HP and didn't take damage from seizure. When I increased their HP to 40, the status worked and decreased their HP to 8 (weird that the status wore off before it killed them, even though I already knew Dual has a limited duration. The Dual status sure lasts long enough to kill Cloud at full health, with any amount of HP... ...It may be because Regen isn't as effective on enemies as it is on characters, and since Dual is an inversed Regen...)
)
EDIT:Nah, I just tried the above code in General Counter without the 70 XXXX part, and it doesn't work : the message "The enemy starts convulsing" always displays as a counter-attack, no matter what I hit it with (sword attack, Bolt, etc.). Perhaps the 70 XXXX would fix this, but I have no idea which values to insert instead of the XXXX.
EDIT 2:I figured it out by myself
. It's a JMP command, of course. Makes sense. So I just had to enter the address to jump to when the conditions aren't met (0031), and the message stops popping up when Seizure doesn't connect. I'm glad that I'm not entirely clueless with AI stuff. Thanks again NFITC1, now it works perfectly