IsAttacking
From The Elder Scrolls Construction Set Wiki
A command for Oblivion Script Extender
Syntax:
(IsAttacking:bool) actor:ref.IsAttacking
Returns 1 if the calling actor is attacking.
[edit] Notes
- Will return 1 while the player is attacking, sometimes even longer than IsCasting. Probably true for other actors as well.
- Will return 1 for a few frames while the player is power attacking as well. In cases where a normal and a power attack is to be differentiated, onControlDown and isControlPressed can be substituted for isAttacking and isPowerAttacking respectively, with appropriate checks.

