Anyway, what's the best method to detect when the player is using a staff during combat.
http://cs.elderscrolls.com/constwiki/index.php/GetWeaponAnimType and http://cs.elderscrolls.com/constwiki/index.php/IsAnimGroupPlaying doesn't seem useful.
I'm extending my http://tesnexus.com/downloads/file.php?id=21834&tab=3&navtag=/modules/comments/comments_ajax.php?tid=336628|:|fid=21834 mod so that the player can have 3rd-person view with a ranged weapon readied but 1st-person view once the player starts using it.
It currently works with bows and target and touch spells. I can't seem to find a good method to detect when staves are used. Note that staves are classed as melee weapons with GetWeaponAnimType.
Thanks in advance!
Cheers!