Okay I lied, I was able to get the player attacking animation ID(s).
They are 1156 and 390 (I think).
So I'm doing something like this:
Simba Code:
function R_IsPlayerAttacking: boolean;
var
animation : integer;
animation2 : integer;
begin
animation := 1156;
animation2:= 390;
writeln('Player animation is: '+IntToStr(R_GetAnimation));
if (R_GetAnimation= animation or animation2) then
begin
Writeln('Player is fighting');
result:= true;
end else
Writeln('Player is not fighting');
result:= false;
end;
Always results false.
Player animation is: 1156
Player is not fighting
Player animation is: 1156